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- [ Liu Yicheng] ( 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/ )
88
99** [[ Paper] ( https://arxiv.org/pdf/2206.08920.pdf )] [[ Project Page] ( https://tsinghua-mars-lab.github.io/vectormapnet/ )] **
1010
@@ -15,7 +15,7 @@ Autonomous driving systems require a good understanding of surrounding environme
1515Please file an
[ issue
] ( https://github.com/Tsinghua-MARS-Lab/vecmapnet/issues ) or send an email to
[ Yicheng
] ( [email protected] ) .
1616
1717
18- ### Citation
18+ ## Bibtex
1919If you found this paper or codebase useful, please cite our paper:
2020```
2121@article{liu2022vectormapnet,
@@ -25,3 +25,63 @@ If you found this paper or codebase useful, please cite our paper:
2525 year={2022}
2626 }
2727```
28+
29+
30+ # Run VectorMapNet
31+
32+ ## Note
33+ We are still working on refining this repo. Currently, we only release the inference code of VectorMapNet.
34+
35+ The training pipeline will be released in next week.
36+
37+ ## 0. Environment
38+
39+ Set up environment by following this [ script] ( env.md )
40+
41+ ## 1. Prepare your dataset
42+
43+ Store your data with following structure:
44+
45+ ```
46+ root
47+ |--datasets
48+ |--nuScenes
49+ |--Argoverse2(optional)
50+
51+ ```
52+
53+ ### 1.1 Generate annotation files
54+
55+ #### Preprocess nuScenes
56+
57+ ```
58+ python tools/data_converter/nuscenes_converter.py --data-root your/dataset/nuScenes/
59+ ```
60+
61+ ## 2. Evaluate VectorMapNet
62+
63+ ### Download Checkpoint
64+ | Method | Modality | Config | Checkpoint |
65+ | --------------| -------------| --------| ------------|
66+ | VectorMapNet | Camera only | [ config] ( configs/vectormapnet.py ) | [ model link] ( https://drive.google.com/file/d/1ccrlZ2HrFfpBB27kC9DkwCYWlTUpgmin/view?usp=sharing ) |
67+
68+ ### Do Evaluation
69+
70+ In single GPU
71+ ```
72+ python tools/test.py configs/vectormapnet.py /path/to/ckpt --eval name
73+ ```
74+
75+ For multi GPUs
76+ ```
77+ bash tools/dist_test.sh configs/vectormapnet.py /path/to/ckpt $num_gpu --eval name
78+ ```
79+
80+
81+ ### Expected Results
82+
83+ | $AP_ {ped}$ | $AP_ {divider}$ | $AP_ {boundary}$ | mAP |
84+ | --------------| ----------------| -----------------| -------|
85+ | 39.8 | 47.7 | 38.8 | 42.1 |
86+
87+
0 commit comments