|
Download docs/bench2drive_eval.md from ZenoNing/ConsDrive: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/ZenoNing/ConsDrive/resolve/main/docs/bench2drive_eval.md
- Command line
-
hf download hf://ZenoNing/ConsDrive/docs/bench2drive_eval.md
-
curl -L -o bench2drive_eval.md https://huggingface.co/ZenoNing/ConsDrive/resolve/main/docs/bench2drive_eval.md
1.09 kB
Bench2Drive Evaluation
This checkout now includes the upstream Bench2Drive evaluator under Bench2Drive/, the Bench2Drive route XMLs under leaderboard/data/, and a minimal local agent at team_code/agent_drivevla.py.
Run one route with a CARLA 0.9.15 server already running:
export CARLA_ROOT=/path/to/carla0915
python eval_bench2drive.py \
--checkpoint outputs/register_command_small_seed_42/checkpoints/epoch=029.ckpt \
--routes leaderboard/data/bench2drive_split/bench2drive_00.xml \
--port 2000 \
--traffic-manager-port 8000
The agent infers outputs/<run>/.hydra/config.yaml from checkpoints stored under outputs/<run>/checkpoints/. If the checkpoint was moved, pass --config /path/to/config.yaml.
To run every split XML sequentially:
python eval_bench2drive.py \
--checkpoint outputs/register_command_small_seed_42/checkpoints/epoch=029.ckpt \
--routes leaderboard/data/bench2drive_split \
--result-dir eval_results/Bench2Drive/register_command_small_seed_42
Use --dry-run to print evaluator commands without starting evaluation.