Awesome
TOD3Cap: Towards 3D Dense Captioning in Outdoor Scenes
This repository is the pytorch implementation of our paper, TOD3Cap.
TOD3Cap: Towards 3D Dense Captioning in Outdoor Scenes
[ECCV 2024]
<div align="left"> <a href="https://arxiv.org/abs/2403.19589" target="_blank"> <img src="https://img.shields.io/badge/Paper-arXiv-red" alt="Paper arXiv"></a> <a href="https://jxbbb.github.io/TOD3Cap/" target="_blank"> <img src="https://img.shields.io/badge/Homepage-TOD3Cap-blue" alt="Project Page"></a> <a href="https://drive.google.com/drive/folders/1LGimA3Il-9J1eJ3FYSzASnfD2Gcls_W1" target="_blank"> <img src="https://img.shields.io/badge/Data-TOD3Cap-darkorange" alt="Data"></a> </div><a href="https://scholar.google.com/citations?user=uUd5v2cAAAAJ&hl=en"><strong>Bu Jin</strong></a> 路 <a href="https://scholar.google.com/citations?user=anGhGdYAAAAJ&hl=en"><strong>Yupeng Zheng</strong></a>馃摟 路 <a href="https://philipflyg.github.io/"><strong>Pengfei Li</strong></a> 路 <a href="https://ericlee0224.github.io/"><strong>Weize Li</strong></a> 路 <a href="https://scholar.google.com/citations?user=Wn2Aic0AAAAJ&hl=en"><strong>Yuhang Zheng</strong></a> 路 <a><strong>Sujie Hu</strong></a> 路 <a><strong>Xinyu Liu</strong></a> 路 <a><strong>Jinwei Zhu</strong></a> 路 <a><strong>Zhijie Yan</strong></a> 路 <a><strong>Haiyang Sun</strong></a> 路 <a><strong>Kun Zhan</strong></a> 路 <a><strong>Peng Jia</strong></a> 路 <a href="http://xxlong.site/"><strong>Xiaoxiao Long</strong></a> 路 <a href="https://air.tsinghua.edu.cn/en/info/1046/1621.htm"><strong>Yilun Chen</strong></a> 路 <a href="https://sites.google.com/view/fromandto"><strong>Hao Zhao</strong></a> <br>(馃摟 indicates corresponding authors)<br>
<b> CASIA 聽 | 聽 Li Auto 聽 | 聽 AIR, Tsinghua University 聽 | 聽 Beihang University 聽 | 聽 HKUST 聽 | 聽 HKU </b>
<a><img align="center" src="docs/tod3cap_logo_v2.png" width="50%"/></a>
Introduction
We introduce the new task of outdoor 3D dense captioning. As input, we assume a LiDAR point cloud and a set of RGB images captured by the panoramic camera rig. The expected output is a set of object boxes with captions. To tackle this task, we propose the TOD3Cap network, which leverages the BEV representation to generate object box proposals and integrates Relation Q-Former with LLaMA-Adapter to generate rich captions for these objects. We also introduce the TOD3Cap dataset, the largest one to our knowledge for 3D dense captioning in outdoor scenes, which contains 2.3M descriptions of 64.3K outdoor objects from 850 scenes in nuScenes.
<div align=center> <img src="docs/teaser.jpg" width="850"/> </div>Note
This reposity will be updated soon, including:
- Initialization.
- Uploading the TOD3Cap Dataset.
- Uploading the Annotation Tools.
- Uploading the codes of TOD3Cap Network.
- Uploading the Installation guidelines.
- Uploading the Training and Evaluation scripts.
- Uploading the Visualization scripts of gt data and predicted results.
- Uploading the Baselines implementation.
Table of contents
Getting Started
Camera-based implementation: see tod3cap_camera/README.md
.
Lidar-based and fusion-based: see tod3cap_fusion/README.md
.
Models
-
We release our best-performing checkpoints. You can download these models at [Google Drive] and place them under
checkpoints
directory. If the directory does not exist, you can create one. -
We release the pretrained detector models we used during training in [Google Drive]. If you want to use other pretrained video-swin models, you can refer to BEVFormer and BEVFusion.
Dataset Preparation
You can download the TOD3Cap dataset in Google Drive.
Train
We provide example scripts to train our model.
cd tod3cap_fusion
. dist_train_stage2.sh
# After changing the checkpoint path to your own path
. dist_train.sh
Evaluate
We provide example scripts to evaluate pre-trained checkpoints.
cd tod3cap_fusion
# After changing the checkpoint path to your own path
. dist_test.sh
# After changing the result path to your own path
. eval.sh
Qualititive results
<div align=center> <img src="docs/vis.jpg" width="650"/> </div>Citation
If you find our work useful in your research, please consider citing:
@article{jin2024tod3cap,
title={TOD3Cap: Towards 3D Dense Captioning in Outdoor Scenes},
author={Jin, Bu and Zheng, Yupeng and Li, Pengfei and Li, Weize and Zheng, Yuhang and Hu, Sujie and Liu, Xinyu and Zhu, Jinwei and Yan, Zhijie and Sun, Haiyang and others},
journal={arXiv preprint arXiv:2403.19589},
year={2024}
}
Acknowledgments
We would like to thank Dave Zhenyu Chen at Technical University of Munich for his valuable proofreading and insightful suggestions. We would also like to thank Lijun Zhou and the student volunteers at Li Auto for their efforts in building the TOD3Cap dataset. Our code is built on top of open-source GitHub repositories. We thank all the authors who made their code public, which tremendously accelerates our project progress. If you find these works helpful, please consider citing them as well.