11# VectorMapNet_code
22** VectorMapNet: End-to-end Vectorized HD Map Learning**
33
4- This is the offical codebase of VectorMapNet
4+ This is the official codebase of VectorMapNet
55
66
7- [ Yicheng Liu] ( https://scholar.google.com/citations?user=vRmsgQUAAAAJ&hl=zh-CN ) , [ Yue Wang] ( https://people.csail.mit.edu/yuewang/ ) , [ Yilun Wang] ( https://scholar.google.com.hk/citations?user=nUyTDosAAAAJ&hl=en/ ) , [ Hang Zhao] ( http://people.csail.mit.edu/hangzhao/ )
7+ [ Yicheng Liu] ( https://scholar.google.com/citations?user=vRmsgQUAAAAJ&hl=zh-CN ) , Yuantian Yuan, [ Yue Wang] ( https://people.csail.mit.edu/yuewang/ ) , [ Yilun Wang] ( https://scholar.google.com.hk/citations?user=nUyTDosAAAAJ&hl=en/ ) , [ Hang Zhao] ( http://people.csail.mit.edu/hangzhao/ )
8+
89
910** [[ Paper] ( https://arxiv.org/pdf/2206.08920.pdf )] [[ Project Page] ( https://tsinghua-mars-lab.github.io/vectormapnet/ )] **
1011
@@ -15,7 +16,7 @@ Autonomous driving systems require a good understanding of surrounding environme
1516Please file an
[ issue
] ( https://github.com/Tsinghua-MARS-Lab/vecmapnet/issues ) or send an email to
[ Yicheng
] ( [email protected] ) .
1617
1718
18- ### Citation
19+ ## Bibtex
1920If you found this paper or codebase useful, please cite our paper:
2021```
2122@article{liu2022vectormapnet,
@@ -25,3 +26,63 @@ If you found this paper or codebase useful, please cite our paper:
2526 year={2022}
2627 }
2728```
29+
30+
31+ # Run VectorMapNet
32+
33+ ## Note
34+ We are still working on refining this repo. Currently, we only release the inference code of VectorMapNet.
35+
36+ The training pipeline will be released in next week.
37+
38+ ## 0. Environment
39+
40+ Set up environment by following this [ script] ( env.md )
41+
42+ ## 1. Prepare your dataset
43+
44+ Store your data with following structure:
45+
46+ ```
47+ root
48+ |--datasets
49+ |--nuScenes
50+ |--Argoverse2(optional)
51+
52+ ```
53+
54+ ### 1.1 Generate annotation files
55+
56+ #### Preprocess nuScenes
57+
58+ ```
59+ python tools/data_converter/nuscenes_converter.py --data-root your/dataset/nuScenes/
60+ ```
61+
62+ ## 2. Evaluate VectorMapNet
63+
64+ ### Download Checkpoint
65+ | Method | Modality | Config | Checkpoint |
66+ | --------------| -------------| --------| ------------|
67+ | VectorMapNet | Camera only | [ config] ( configs/vectormapnet.py ) | [ model link] ( https://drive.google.com/file/d/1ccrlZ2HrFfpBB27kC9DkwCYWlTUpgmin/view?usp=sharing ) |
68+
69+ ### Do Evaluation
70+
71+ In single GPU
72+ ```
73+ python tools/test.py configs/vectormapnet.py /path/to/ckpt --eval name
74+ ```
75+
76+ For multi GPUs
77+ ```
78+ bash tools/dist_test.sh configs/vectormapnet.py /path/to/ckpt $num_gpu --eval name
79+ ```
80+
81+
82+ ### Expected Results
83+
84+ | $AP_ {ped}$ | $AP_ {divider}$ | $AP_ {boundary}$ | mAP |
85+ | --------------| ----------------| -----------------| -------|
86+ | 39.8 | 47.7 | 38.8 | 42.1 |
87+
88+
0 commit comments