README.md 3.04 KB
Newer Older
yeshenglong1's avatar
yeshenglong1 committed
1
2
3
4
<div id="top" align="center">

# InternImage-based Baseline for Online HD Map Construction Challenge For Autonomous Driving

zhe chen's avatar
zhe chen committed
5
</div>
yeshenglong1's avatar
yeshenglong1 committed
6

zhe chen's avatar
zhe chen committed
7
8
If you need detaild information about the challenge, please refer
to https://github.com/Tsinghua-MARS-Lab/Online-HD-Map-Construction-CVPR2023/tree/master
yeshenglong1's avatar
yeshenglong1 committed
9
10

#### 1. Requirements
zhe chen's avatar
zhe chen committed
11

yeshenglong1's avatar
yeshenglong1 committed
12
13
14
15
16
17
18
19
20
21
22
23
```bash
python>=3.8
torch==1.11 # recommend
mmcv-full>=1.5.2
mmdet==2.28.1
mmsegmentation==0.29.1
timm
numpy==1.23.5
mmdet3d==1.0.0rc6 # recommend
```

### 2. Install DCNv3 for InternImage
zhe chen's avatar
zhe chen committed
24

yeshenglong1's avatar
yeshenglong1 committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
```bash
cd projects/ops_dcnv3
bash make.sh # requires torch>=1.10
```

### 3. Train with InternImage-Small

```bash
bash tools/dist_train.sh src/configs/vectormapnet_intern.py ${NUM_GPUS}
```

Notes: InatenImage provides abundant pre-trained model weights that can be used!!!

### 4. Performance compared to baseline

zhe chen's avatar
zhe chen committed
40
41
42
43
| model name          |                                                      weight                                                       | $\\mathrm{mAP}$ | $\\mathrm{AP}\_{pc}$ | $\\mathrm{AP}\_{div}$ | $\\mathrm{AP}\_{bound}$ |
| ------------------- | :---------------------------------------------------------------------------------------------------------------: | :-------------: | :------------------: | :-------------------: | :---------------------: |
| vectormapnet_intern | [Checkpoint](https://github.com/OpenGVLab/InternImage/releases/download/track_model/vectormapnet_internimage.pth) |      49.35      |        45.05         |         56.78         |          46.22          |
| vectormapnet_base   |              [Google Drive](https://drive.google.com/file/d/16D1CMinwA8PG1sd9PV9_WtHzcBohvO-D/view)               |      42.79      |        37.22         |         50.47         |          40.68          |
yeshenglong1's avatar
yeshenglong1 committed
44
45
46

## Citation

zhe chen's avatar
zhe chen committed
47
48
The evaluation metrics of this challenge follows [HDMapNet](https://arxiv.org/abs/2107.06307). We
provide [VectorMapNet](https://arxiv.org/abs/2206.08920) as the baseline. Please cite:
yeshenglong1's avatar
yeshenglong1 committed
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

```
@article{li2021hdmapnet,
    title={HDMapNet: An Online HD Map Construction and Evaluation Framework},
    author={Qi Li and Yue Wang and Yilun Wang and Hang Zhao},
    journal={arXiv preprint arXiv:2107.06307},
    year={2021}
}
```

Our dataset is built on top of the [Argoverse 2](https://www.argoverse.org/av2.html) dataset. Please also cite:

```
@INPROCEEDINGS {Argoverse2,
  author = {Benjamin Wilson and William Qi and Tanmay Agarwal and John Lambert and Jagjeet Singh and Siddhesh Khandelwal and Bowen Pan and Ratnesh Kumar and Andrew Hartnett and Jhony Kaesemodel Pontes and Deva Ramanan and Peter Carr and James Hays},
  title = {Argoverse 2: Next Generation Datasets for Self-driving Perception and Forecasting},
  booktitle = {Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks (NeurIPS Datasets and Benchmarks 2021)},
  year = {2021}
}
```

## License

zhe chen's avatar
zhe chen committed
72
73
74
Before participating in our challenge, you should register on the website and agree to the terms of use of
the [Argoverse 2](https://www.argoverse.org/av2.html) dataset. All code in this project is released
under [GNU General Public License v3.0](./LICENSE).