Home

Awesome

UVTR

arXiv visitors

Unifying Voxel-based Representation with Transformer for 3D Object Detection

Yanwei Li, Yilun Chen, Xiaojuan Qi, Zeming Li, Jian Sun, Jiaya Jia

[arXiv] [BibTeX]

<div align="center"> <img src="projects/docs/uvtr.png"/> </div><br/>

This project provides an implementation for the NeurIPS 2022 paper "Unifying Voxel-based Representation with Transformer for 3D Object Detection" based on mmDetection3D. UVTR aims to unify multi-modality representations in the voxel space for accurate and robust single- or cross-modality 3D detection.

Preparation

This project is based on mmDetection3D, which can be constructed as follows.

cp -r projects mmdetection3d/
cp -r extra_tools mmdetection3d/
python3 extra_tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes_unified

Training

You can train the model following the instructions. You can find the pretrained models here if you want to train the model from scratch. For example, to launch UVTR training on multi GPUs, one should execute:

cd /path/to/mmdetection3d
bash extra_tools/dist_train.sh ${CFG_FILE} ${NUM_GPUS}

or train with a single GPU:

python3 extra_tools/train.py ${CFG_FILE}

Evaluation

You can evaluate the model following the instructions. For example, to launch UVTR evaluation with a pretrained checkpoint on multi GPUs, one should execute:

bash extra_tools/dist_test.sh ${CFG_FILE} ${CKPT} ${NUM_GPUS} --eval=bbox

or evaluate with a single GPU:

python3 extra_tools/test.py ${CFG_FILE} ${CKPT} --eval=bbox

nuScenes 3D Object Detection Results

We provide results on nuScenes val set with pretrained models.

NDS(%)mAP(%)mATE↓mASE↓mAOE↓mAVE↓mAAE↓download
Camera-based
UVTR-C-R50-H540.131.30.8100.2810.4860.7930.187GoogleDrive
UVTR-C-R50-H1141.833.30.7950.2760.4520.7610.196GoogleDrive
UVTR-C-R10144.136.10.7610.2710.4090.7560.203GoogleDrive
UVTR-CS-R5047.236.20.7560.2760.3990.4670.189GoogleDrive
UVTR-CS-R10148.337.90.7390.2670.3500.5100.200GoogleDrive
UVTR-L2C-R10145.037.20.7350.2690.3970.7610.193GoogleDrive
UVTR-L2CS3-R10148.839.20.7200.2680.3540.5340.206GoogleDrive
LiDAR-based
UVTR-L-V007567.660.80.3350.2570.3030.2060.183GoogleDrive
Multi-modality
UVTR-M-V0075-R10170.265.40.3330.2580.2700.2160.176GoogleDrive

Acknowledgement

We would like to thank the authors of mmDetection3D and DETR3D for their open-source release.

License

UVTR is released under the Apache 2.0 license.

<a name="CitingUVTR"></a>Citing UVTR

Consider cite UVTR in your publications if it helps your research.

@inproceedings{li2022uvtr,
  title={Unifying Voxel-based Representation with Transformer for 3D Object Detection},
  author={Li, Yanwei and Chen, Yilun and Qi, Xiaojuan and Li, Zeming and Sun, Jian and Jia, Jiaya},
  booktitle={Advances in Neural Information Processing Systems},
  year={2022}
}