Skip to content

Commit 13f4a80

Browse files
committed
init commit
1 parent 075b19f commit 13f4a80

Some content is hidden

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

78 files changed

+11700
-3
lines changed

README.md

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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
1515
Please 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
1919
If 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+

configs/_base_/default_runtime.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
checkpoint_config = dict(interval=1)
2+
# yapf:disable push
3+
# By default we use textlogger hook and tensorboard
4+
# For more loggers see
5+
# https://mmcv.readthedocs.io/en/latest/api.html#mmcv.runner.LoggerHook
6+
log_config = dict(
7+
interval=50,
8+
hooks=[
9+
dict(type='TextLoggerHook'),
10+
dict(type='TensorboardLoggerHook')
11+
])
12+
# yapf:enable
13+
dist_params = dict(backend='nccl')
14+
log_level = 'INFO'
15+
work_dir = None
16+
load_from = None
17+
resume_from = None
18+
workflow = [('train', 1)]

0 commit comments

Comments
 (0)