MCPcopy Index your code
hub / github.com/WangYueFt/detr3d

github.com/WangYueFt/detr3d @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
283 symbols 869 edges 56 files 139 documented · 49%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Object DGCNN & DETR3D

This repo contains the implementations of Object DGCNN (https://arxiv.org/abs/2110.06923) and DETR3D (https://arxiv.org/abs/2110.06922). Our implementations are built on top of MMdetection3D.

Prerequisite

  1. mmcv (https://github.com/open-mmlab/mmcv)

  2. mmdet (https://github.com/open-mmlab/mmdetection)

  3. mmseg (https://github.com/open-mmlab/mmsegmentation)

  4. mmdet3d (https://github.com/open-mmlab/mmdetection3d)

Data

  1. Follow the mmdet3d to process the data.

Train

  1. Downloads the pretrained backbone weights to pretrained/

  2. For example, to train Object-DGCNN with pillar on 8 GPUs, please use

tools/dist_train.sh projects/configs/obj_dgcnn/pillar.py 8

Evaluation using pretrained models

  1. Download the weights accordingly.
Backbone mAP NDS Download
DETR3D, ResNet101 w/ DCN 34.7 42.2 model | log
above, + CBGS 34.9 43.4 model | log
DETR3D, VoVNet on trainval, evaluation on test set 41.2 47.9 model | log
Backbone mAP NDS Download
Object DGCNN, pillar 53.2 62.8 model | log
Object DGCNN, voxel 58.6 66.0 model | log
  1. To test, use
    tools/dist_test.sh projects/configs/obj_dgcnn/pillar_cosine.py /path/to/ckpt 8 --eval=bbox

If you find this repo useful for your research, please consider citing the papers

@inproceedings{
   obj-dgcnn,
   title={Object DGCNN: 3D Object Detection using Dynamic Graphs},
   author={Wang, Yue and Solomon, Justin M.},
   booktitle={2021 Conference on Neural Information Processing Systems ({NeurIPS})},
   year={2021}
}
@inproceedings{
   detr3d,
   title={DETR3D: 3D Object Detection from Multi-view Images via 3D-to-2D Queries},
   author={Wang, Yue and Guizilini, Vitor and Zhang, Tianyuan and Wang, Yilun and Zhao, Hang and and Solomon, Justin M.},
   booktitle={The Conference on Robot Learning ({CoRL})},
   year={2021}
}

Core symbols most depended-on inside this repo

_extend_matrix
called by 12
tools/data_converter/kitti_data_utils.py
_read_imageset_file
called by 6
tools/data_converter/kitti_converter.py
_create_reduced_point_cloud
called by 6
tools/data_converter/kitti_converter.py
get_kitti_info_path
called by 5
tools/data_converter/kitti_data_utils.py
decode
called by 5
projects/mmdet3d_plugin/core/bbox/coders/nms_free_coder.py
inverse_sigmoid
called by 5
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py
_calculate_num_points_in_gt
called by 4
tools/data_converter/kitti_converter.py
obtain_sensor2top
called by 4
tools/data_converter/nuscenes_converter.py

Shape

Method 145
Function 105
Class 33

Languages

Python100%

Modules by API surface

projects/mmdet3d_plugin/datasets/pipelines/transform_3d.py27 symbols
projects/mmdet3d_plugin/models/backbones/vovnet.py20 symbols
tools/data_converter/scannet_data_utils.py16 symbols
tools/data_converter/kitti_data_utils.py15 symbols
projects/mmdet3d_plugin/models/utils/detr3d_transformer.py15 symbols
tools/data_converter/waymo_converter.py13 symbols
tools/data_converter/sunrgbd_data_utils.py13 symbols
projects/mmdet3d_plugin/models/detectors/detr3d.py12 symbols
tools/data_converter/s3dis_data_utils.py11 symbols
projects/mmdet3d_plugin/models/dense_heads/dgcnn3d_head.py11 symbols
projects/mmdet3d_plugin/models/dense_heads/detr3d_head.py11 symbols
tools/data_converter/kitti_converter.py10 symbols

For agents

$ claude mcp add detr3d \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page