Giter Club home page Giter Club logo

futr3d's Introduction

FUTR3D: A Unified Sensor Fusion Framework for 3D Detection

Official code link: https://github.com/Tsinghua-MARS-Lab/futr3d

This repo implements the paper FUTR3D: A Unified Sensor Fusion Framework for 3D Detection. Paper - project page

Environment

Prerequisite

  1. mmcv-full>=1.3.8, <=1.4.0
  2. mmdet>=2.14.0, <=3.0.0
  3. mmseg>=0.14.1, <=1.0.0
  4. mmdetection3d, >=v0.17.0
  5. nuscenes-devkit

Recommended

  • mmcv-full 1.4.0
  • mmdet 2.14.0
  • mmdet3d 0.17.1
  • mmsegmentation 0.14.1

Enviroment config

conda create -n open-mmlab python=3.8 -y
conda activate open-mmlab

pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html

pip install mmcv-full==1.4.0

pip install mmdet==2.14.0
pip install mmsegmentation==0.14.1

git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
git checkout v0.17.1 # Other versions may not be compatible.
pip install -e .


git clone https://github.com/nacayu/FUTR3D

Data

For cameras with Radar setting, you should generate a meta file or say .pkl file including Radar infos.

bash tools/create_data.sh nuscenes v1.0-trainval 4

For others, please follow the mmdet3d to process the data. https://mmdetection3d.readthedocs.io/en/stable/datasets/nuscenes_det.html

Train

For example, If your GPU memory is about 10GB, to train small FUTR3D with Radar only on 2 GPUs, please use

bash tools/dist_train.sh plugin/futr3d/configs/cam_radar/res101_radar_small.py 2

or

Train full FUTR3D from official (RTX 3090: 24GB GPU) with Radar only on 2 GPUs, please use

bash tools/dist_train.sh plugin/futr3d/configs/cam_radar/res101_radar_large.py 2

Evaluate

For example, to evalaute FUTR3D with Radar-cam on 2 GPUs, please use

bash tools/dist_test.sh ./plugin/futr3d/configs/cam_radar/res101_radar_large.py ./ckpts/cam_res101_radar_900q.pth --eval bbox

Visualize results(Have not tested)

You should first generate .pkl results using:

bash tools/dist_test.sh ./plugin/futr3d/configs/cam_radar/res101_radar_large.py ./ckpts/cam_res101_radar_900q.pth --format-only

to generate .pkl result files and run:

python tools/misc/visualize_results.py /path/to/your_config /path/to/your_config_file_of_config

Results

Cam & Radar

models mAP NDS Link
Res101 + Radar 35.0 45.9 model

Cam only

The camera-only version of FUTR3D is the same as DETR3D. Please check DETR3D for detail implementation.

Acknowledgment

For the implementation, we rely heavily on MMCV, MMDetection, MMDetection3D, and DETR3D

Related projects

  1. DETR3D: 3D Object Detection from Multi-view Images via 3D-to-2D Queries
  2. MUTR3D: A Multi-camera Tracking Framework via 3D-to-2D Queries
  3. For more projects on Autonomous Driving, check out our Visual-Centric Autonomous Driving (VCAD) project page webpage

Reference

@article{chen2022futr3d,
  title={FUTR3D: A Unified Sensor Fusion Framework for 3D Detection},
  author={Chen, Xuanyao and Zhang, Tianyuan and Wang, Yue and Wang, Yilun and Zhao, Hang},
  journal={arXiv preprint arXiv:2203.10642},
  year={2022}
}

Contact: Xuanyao Chen at: [email protected] or [email protected]

futr3d's People

Contributors

nacayu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

futr3d's Issues

ckpts/ cam_res101_radar_900q.pth

in the config file res101_radar_small.py, line 235

load from=./ckpts/ cam_res101_radar_900q.pth

how can i get the checkpoint file?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.