
| Subset | Hugging Face |
Baidu Cloud |
Approx. Size | File List |
|---|---|---|---|---|
| Mini | Download script | - | 4G | Mini Json File |
| Base | Hugging Face Link | Baidu Cloud Link | 400G | Base Json File |
| Full | Full HF Link - 9888 files/Sup HF Link - 3814 file | - | 4T | Full/Sup Json File |
Note that the Mini Set is 10 representative scenes. You may download them by manually select file names from the Base set.
Use the command line: huggingface-cli download --repo-type dataset --resume-download rethinklab/Bench2Drive --local-dir Bench2Drive-Base to download from hugginface. User may consider mirror site if Huggingface is blocked. Use BaiduPCS-Go to download from Baidu Cloud. Both command lines are resumable.
bash
mkdir carla
cd carla
wget https://carla-releases.s3.us-east-005.backblazeb2.com/Linux/CARLA_0.9.15.tar.gz
tar -xvf CARLA_0.9.15.tar.gz
cd Import && wget https://carla-releases.s3.us-east-005.backblazeb2.com/Linux/AdditionalMaps_0.9.15.tar.gz
cd .. && bash ImportAssets.sh
export CARLA_ROOT=YOUR_CARLA_PATH
echo "$CARLA_ROOT/PythonAPI/carla/dist/carla-0.9.15-py3.7-linux-x86_64.egg" >> YOUR_CONDA_PATH/envs/YOUR_CONDA_ENV_NAME/lib/python3.7/site-packages/carla.pth # python 3.8 also works well, please set YOUR_CONDA_PATH and YOUR_CONDA_ENV_NAMEbash
Bench2Drive\
assets\
docs\
leaderboard\
team_code\
--> Please add your agent HEAR
scenario_runner\
tools\
--> Please link your model folder HEARbash
# Verify the correctness of the team agent, need to set GPU_RANK, TEAM_AGENT, TEAM_CONFIG
bash leaderboard/scripts/run_evaluation_debug.shbash
# Please set TASK_NUM, GPU_RANK_LIST, TASK_LIST, TEAM_AGENT, TEAM_CONFIG, recommend GPU: Task(1:2).
# It is normal that certain model can not finsih certain routes, no matter how many times we restart the evaluation. It should be treated as failing as it usually happens in the routes where agents behave badly.
bash leaderboard/scripts/run_evaluation_multi_uniad.shbash
python tools/generate_video.py -f your_rgb_folder/Metric: Make sure there are exactly 220 routes in your json. Failed/Crashed status is also acceptable. Otherwise, the metric is inaccurate. ```bash # Merge eval json and get driving score and success rate # This script will assume the total number of routes with results is 220. If there is not enough, the missed ones will be treated as 0 score. python tools/merge_route_json.py -f your_json_folder/
# Get multi-ability results
python tools/ability_benchmark.py -r merge.json
# Get driving efficiency and driving smoothness results
python tools/efficiency_smoothness_benchmark.py -f merge.json -m your_metric_folder/
```
CARLA has complex dependencies and is not stable. Please check the issue section of CARLA very carefully.
Fix typos in the ability calculation. (Issue #112)

V0.0.2(Depracated)
Code Version
V0.0.1(Depracated)
All
$ claude mcp add Bench2Drive \
-- python -m otcore.mcp_server <graph>