/A2FRPGNet

The implementation of the paper: Towards Prime 3D Detection via Adaptive Feature Reason and Relation-Aware Proposal Generation.

Primary LanguagePythonApache License 2.0Apache-2.0

Learning Local-to-global Feature Reason on Points and Weighted Relation-Aware Proposal Generation for 3D Detection

This is a MMDetection3D implementation of the paper "Learning Local-to-global Feature Reason on Points and Weighted Relation-Aware Proposal Generation for 3D Detection".

Prerequisites

The code is tested with Python3.7, PyTorch == 1.10, CUDA == 11.3, mmdet3d == 1.0.0rc2, mmcv_full == 1.5.0 and mmdet == 2.24.1. We recommend you to use anaconda to make sure that all dependencies are in place. Note that different versions of the library may cause changes in results.

Step 1. Create a conda environment and activate it.

conda create --name demf python=3.7
conda activate demf

Step 2. Install MMDetection3D following the instruction here.

Step 3. Prepare SUN RGB-D Data following the procedure here.

Getting Started

for sunrgbd

sh tools/slurm_train.sh $PARTION $JOB_NAME configs/A2FRPG/A2FRPG_16x8_sunrgbd-3d-10class.py $WORK_DIR

for scannet-1x-backbone

sh tools/slurm_train.sh $PARTION $JOB_NAME configs/configs/A2FRPG/A2FRPG_8x8_scannet-3d-18class.py $WORK_DIR

for scannet-2x-backbone

sh tools/slurm_train.sh $PARTION $JOB_NAME configs/configs/A2FRPG/A2FRPG_8x8_scannet-3d-18class-2x.py $WORK_DIR

for test the pretrained weight

sh tools/slurm_test.sh $PARTION $JOB_NAME configs/A2FRPG/A2FRPG_16x8_sunrgbd-3d-10class.py $PRETRAINED_CKPT --eval mAP --work-dir $WORK_DIR

Main Results