Skip to content

Commit 90375fe

Browse files
committed
feat: eval navsim
1 parent 6bd8dd0 commit 90375fe

1,404 files changed

Lines changed: 295679 additions & 18 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,11 @@ fusion_result.json
223223
*output*
224224
*kernel_meta/
225225
data/*.json
226-
maps
227226
data/metric_cache
228-
data/maps
229227
tmp
230228
navsim_v1
231229
nuscenes
232230
extra-info/
233231
pretrained_model/
234-
.DS_Store
232+
.DS_Store
233+
exp/

README.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<a href='https://github.com/YoucanBaby' target='_blank'>Yifang Xu</a><sup>1*</sup>&emsp;
44
<a href='https://cuijh26.github.io/' target='_blank'>Jiahao Cui</a><sup>1*</sup>&emsp;
55
<a href='https://github.com/fudan-generative-vision/WAM-Flow' target='_blank'>Feipeng Cai</a><sup>2*</sup>&emsp;
6-
<a href='https://github.com/SSSSSSuger' target='_blank'>Zhihao Zhu</a><sup>1</sup>&emsp;
6+
<a href='https://github.com/SSSSSSuger' target='_blank'>Zhihao Zhu</a><sup>1*</sup>&emsp;
77
<a href='https://github.com/NinoNeumann' target='_blank'>Hanlin Shang</a><sup>1</sup>&emsp;
88
<a href='https://github.com/isan089' target='_blank'>Shan Luan</a><sup>1</sup>&emsp;
99
</div>
@@ -30,6 +30,7 @@
3030

3131

3232
## 📰 News
33+
- **`2026/02/21`**: 🎉🎉🎉 WAM-Flow is accepted by [CVPR 2026](https://cvpr.thecvf.com/).
3334
- **`2026/02/01`**: 🎉🎉🎉 Release the pretrained models on [Huggingface](https://huggingface.co/fudan-generative-ai/WAM-Flow).
3435
- **`2025/12/06`**: 🎉🎉🎉 Paper submitted on [Arxiv](https://arxiv.org/pdf/2512.06112).
3536

@@ -41,7 +42,7 @@
4142
| :----: | :----------------------------------------------------------------------------------------------------: | :--------: |
4243
|| **[Release the SFT and inference code](https://github.com/fudan-generative-vision/WAM-Flow)** | 2025.12.19 |
4344
|| **[Pretrained models on Huggingface](https://huggingface.co/fudan-generative-ai/WAM-Flow)** | 2026.02.01 |
44-
| 🚀 | **[Release the evaluation code](https://huggingface.co/fudan-generative-ai/WAM-Flow)** | TBD |
45+
| | **[Release the evaluation code](https://huggingface.co/fudan-generative-ai/WAM-Flow)** | 2026.03.03 |
4546
| 🚀 | **[Release the RL code](https://github.com/fudan-generative-vision/WAM-Flow)** | TBD |
4647
| 🚀 | **[Release the pre-processed training data](#training)** | TBD |
4748

@@ -82,13 +83,14 @@ cd WAM-Flow
8283
Install dependencies:
8384

8485
```sh
85-
conda create --name wam-flow python=3.10
86+
conda create --name wam-flow python=3.9
8687
conda activate wam-flow
87-
pip install -r requirements.txt
88+
pip install -e ./nuplan-devkit
89+
pip install -e .
8890
```
8991

9092

91-
### Model Download
93+
### Model
9294

9395
Download models using huggingface-cli:
9496

@@ -99,6 +101,24 @@ huggingface-cli download LucasJinWang/FUDOKI --local-dir ./pretrained_model/fudo
99101
```
100102

101103

104+
### Dataset
105+
106+
**NAVSIM**
107+
108+
Please [download NAVSIM dataset](https://github.com/autonomousvision/navsim/blob/main/docs/install.md#2-download-the-dataset) and [run metric caching](https://github.com/autonomousvision/navsim/blob/main/docs/cache.md).
109+
110+
111+
112+
113+
### Evaluation
114+
115+
**NAVSIM**
116+
117+
```sh
118+
# Please change NAVSIM and METRIC_CACHE path
119+
sh scripts/evaluation/run_wam_flow_agent_pdm_score_evaluation.sh
120+
```
121+
102122

103123
### Inference
104124

@@ -137,4 +157,4 @@ The integration of Vision-Language-Action models into autonomous driving introdu
137157

138158

139159
## 🤗 Acknowledgements
140-
We gratefully acknowledge the contributors to the [Recogdrive](https://github.com/xiaomi-research/recogdrive), [Janus](https://github.com/deepseek-ai/Janus), [FUDOKI](https://github.com/fudoki-hku/FUDOKI) and [flow_matching](https://github.com/facebookresearch/flow_matching) repositories, whose commitment to open source has provided us with their excellent codebases and pretrained models.
160+
We gratefully acknowledge the contributors to the [WAM-Diff](https://github.com/fudan-generative-vision/WAM-Diff), [RecogDrive](https://github.com/xiaomi-research/recogdrive), [Janus](https://github.com/deepseek-ai/Janus), [FUDOKI](https://github.com/fudoki-hku/FUDOKI) and [flow_matching](https://github.com/facebookresearch/flow_matching) repositories, whose commitment to open source has provided us with their excellent codebases and pretrained models.

config/pretrain.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ckpt_path: ""
1111
train_llm_emb: false
1212

1313
data_list: [
14-
"path/to/llava_v1_5_mix665k_2.jsonl"
14+
"path/to/llava_v1_5_mix665k_2.jsonl",
1515
"path/to/dataset_coda_lm.jsonl",
1616
"path/to/dataset_drivegpt4.jsonl",
1717
"path/to/dataset_lingoqa.jsonl",

download/download_maps.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
wget https://motional-nuplan.s3-ap-northeast-1.amazonaws.com/public/nuplan-v1.1/nuplan-maps-v1.1.zip
2+
unzip nuplan-maps-v1.1.zip
3+
rm nuplan-maps-v1.1.zip
4+
mv nuplan-maps-v1.0 maps

download/download_mini.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_metadata_mini.tgz
2+
tar -xzf openscene_metadata_mini.tgz
3+
rm openscene_metadata_mini.tgz
4+
mv openscene-v1.1/meta_datas mini_navsim_logs
5+
rm -r openscene-v1.1
6+
7+
for split in {0..31}; do
8+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_sensor_mini_camera/openscene_sensor_mini_camera_${split}.tgz
9+
echo "Extracting file openscene_sensor_mini_camera_${split}.tgz"
10+
tar -xzf openscene_sensor_mini_camera_${split}.tgz
11+
rm openscene_sensor_mini_camera_${split}.tgz
12+
done
13+
14+
for split in {0..31}; do
15+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_sensor_mini_lidar/openscene_sensor_mini_lidar_${split}.tgz
16+
echo "Extracting file openscene_sensor_mini_lidar_${split}.tgz"
17+
tar -xzf openscene_sensor_mini_lidar_${split}.tgz
18+
rm openscene_sensor_mini_lidar_${split}.tgz
19+
done
20+
21+
mv openscene-v1.1/sensor_blobs mini_sensor_blobs
22+
rm -r openscene-v1.1

download/download_navtrain.sh

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_metadata_trainval.tgz
2+
tar -xzf openscene_metadata_trainval.tgz
3+
rm openscene_metadata_trainval.tgz
4+
mv openscene-v1.1/meta_datas trainval_navsim_logs
5+
rm -r openscene-v1.1
6+
7+
mkdir -p trainval_sensor_blobs/trainval
8+
for split in {1..4}; do
9+
wget https://s3.eu-central-1.amazonaws.com/avg-projects-2/navsim/navtrain_current_${split}.tgz
10+
echo "Extracting file navtrain_current_${split}.tgz"
11+
tar -xzf navtrain_current_${split}.tgz
12+
rm navtrain_current_${split}.tgz
13+
14+
rsync -rv current_split_${split}/* trainval_sensor_blobs/trainval
15+
rm -r current_split_${split}
16+
done
17+
18+
for split in {1..4}; do
19+
wget https://s3.eu-central-1.amazonaws.com/avg-projects-2/navsim/navtrain_history_${split}.tgz
20+
echo "Extracting file navtrain_history_${split}.tgz"
21+
tar -xzf navtrain_history_${split}.tgz
22+
rm navtrain_history_${split}.tgz
23+
24+
rsync -rv history_split_${split}/* trainval_sensor_blobs/trainval
25+
rm -r history_split_${split}
26+
done
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_metadata_private_test_e2e.tgz
2+
tar -xzf openscene_metadata_private_test_e2e.tgz
3+
rm openscene_metadata_private_test_e2e.tgz
4+
mv openscene-v1.1/meta_datas/ private_test_e2e_navsim_logs
5+
rm -r openscene-v1.1
6+
7+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_sensor_private_test_e2e.tgz
8+
tar -xzf openscene_sensor_private_test_e2e.tgz
9+
rm openscene_sensor_private_test_e2e.tgz
10+
mv competition_test private_test_e2e_sensor_blobs

download/download_test.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_metadata_test.tgz
2+
tar -xzf openscene_metadata_test.tgz
3+
rm openscene_metadata_test.tgz
4+
5+
for split in {0..31}; do
6+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_sensor_test_camera/openscene_sensor_test_camera_${split}.tgz
7+
echo "Extracting file openscene_sensor_test_camera_${split}.tgz"
8+
tar -xzf openscene_sensor_test_camera_${split}.tgz
9+
rm openscene_sensor_test_camera_${split}.tgz
10+
done
11+
12+
for split in {0..31}; do
13+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_sensor_test_lidar/openscene_sensor_test_lidar_${split}.tgz
14+
echo "Extracting file openscene_sensor_test_lidar_${split}.tgz"
15+
tar -xzf openscene_sensor_test_lidar_${split}.tgz
16+
rm openscene_sensor_test_lidar_${split}.tgz
17+
done
18+
19+
mv openscene-v1.1/meta_datas test_navsim_logs
20+
mv openscene-v1.1/sensor_blobs test_sensor_blobs
21+
rm -r openscene-v1.1

download/download_trainval.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_metadata_trainval.tgz
2+
tar -xzf openscene_metadata_trainval.tgz
3+
rm openscene_metadata_trainval.tgz
4+
5+
for split in {0..199}; do
6+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_sensor_trainval_camera/openscene_sensor_trainval_camera_${split}.tgz
7+
echo "Extracting file openscene_sensor_trainval_camera_${split}.tgz"
8+
tar -xzf openscene_sensor_trainval_camera_${split}.tgz
9+
rm openscene_sensor_trainval_camera_${split}.tgz
10+
done
11+
12+
for split in {0..199}; do
13+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/openscene-v1.1/openscene_sensor_trainval_lidar/openscene_sensor_trainval_lidar_${split}.tgz
14+
echo "Extracting file openscene_sensor_trainval_lidar_${split}.tgz"
15+
tar -xzf openscene_sensor_trainval_lidar_${split}.tgz
16+
rm openscene_sensor_trainval_lidar_${split}.tgz
17+
done
18+
19+
mv openscene-v1.1/meta_datas trainval_navsim_logs
20+
mv openscene-v1.1/sensor_blobs trainval_sensor_blobs
21+
rm -r openscene-v1.1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
wget https://huggingface.co/datasets/OpenDriveLab/OpenScene/resolve/main/navsim-v2/navsim_v2.1.1_warmup_two_stage.tar.gz
2+
tar -xzvf navsim_v2.1.1_warmup_two_stage.tar.gz
3+
rm navsim_v2.1.1_warmup_two_stage.tar.gz

0 commit comments

Comments
 (0)