/OpenPCDet

OpenLidarPerceptron for LiDAR-based 3D Scene Perception (e.g. PCDet toolbox for 3D detection from point cloud).

Primary LanguagePythonApache License 2.0Apache-2.0

OpenLidarPerceptron

Introduction

OpenLidarPerceptron is an open source project for LiDAR-based 3D scene perception. As of now, it mainly consists of PCDet toolbox for 3D object detection from point cloud, and we are going to support LiDAR segmentation and odometry in the next phase.

What does PCDet toolbox do?

Note that we have upgrated PCDet from v0.1 to v0.2 with pretty new structures to support various datasets and models.

PCDet is a general PyTorch-based codebase for 3D object detection from point cloud. It currently supports multiple state-of-the-art 3D object detection methods with highly refactored codes for both one-stage and two-stage 3D detection frameworks.

Based on PCDet toolbox, we win the Waymo Open Dataset challenge in 3D Detection, 3D Tracking, Domain Adaptation three tracks among all LiDAR-only methods, and the Waymo related models will be released to PCDet soon.

It is also the official code release of [Part-A^2 net] and [PV-RCNN].

We are actively updating this repo currently, and more datasets and models will be supported soon. Contributions are also welcomed.

Currently Supported Features

  • Unified point cloud coordinate and clear code structure and for supporting lots of datasets and approaches
  • Support both one-stage and two-stage 3D object detection frameworks
  • Support distributed training & testing with multiple GPUs and multiple machines
  • Support multiple heads on different scales to detect different classes
  • Support stacked version set abstraction to encode various number of points in different scenes
  • Support Adaptive Training Sample Selection (ATSS) for target assignment
  • Support RoI-aware point cloud pooling & RoI-grid point cloud pooling
  • Support GPU version 3D IoU calculation and rotated NMS

Model Zoo

KITTI 3D Object Detection Baselines

Selected supported methods are shown in the below table. The results are the 3D detection performance of car class on the val set of KITTI dataset. All models are trained with 8 GPUs and are available for download.

Batch Size AP_Easy AP_Moderate AP_Hard download
PointPillar 32 86.46 77.28 74.65 model-18M
SECOND 32 88.61 78.62 77.22 model-20M
Part-A^2 32 89.55 79.40 78.84 model-244M
PV-RCNN 16 89.34 83.69 78.70 model-50M
SECOND-MultiHead 32 - - - ongoing
PointRCNN 32 - - - ongoing

Installation

Please refer to INSTALL.md for installation and dataset preparation.

Get Started

Please refer to GETTING_STARTED.md to learn more usage about this project.

License

OpenLidarPerceptron is released under the Apache 2.0 license.

Acknowledgement

OpenLidarPerceptron is an open source project for LiDAR-based 3D scene perception that supports multiple LiDAR-based perception models as shown above. Some parts of PCDet are learned from the official released codes of the above supported methods. We would like to thank for their proposed methods and the official implementation.

We hope that this repo could serve as a strong and flexible codebase to benefit the research community by speeding up the process of reimplementing previous works and/or developing new methods.

Citation

If you find this project useful in your research, please consider cite:

@inproceedings{shi2020pv,
  title={Pv-rcnn: Point-voxel feature set abstraction for 3d object detection},
  author={Shi, Shaoshuai and Guo, Chaoxu and Jiang, Li and Wang, Zhe and Shi, Jianping and Wang, Xiaogang and Li, Hongsheng},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={10529--10538},
  year={2020}
}


@article{shi2020points,
  title={From Points to Parts: 3D Object Detection from Point Cloud with Part-aware and Part-aggregation Network},
  author={Shi, Shaoshuai and Wang, Zhe and Shi, Jianping and Wang, Xiaogang and Li, Hongsheng},
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year={2020},
  publisher={IEEE}
}

@inproceedings{shi2019pointrcnn,
  title={PointRCNN: 3d Object Progposal Generation and Detection from Point Cloud},
  author={Shi, Shaoshuai and Wang, Xiaogang and Li, Hongsheng},
  booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
  pages={770--779},
  year={2019}
}

Contact

This project is currently maintained by Shaoshuai Shi (@sshaoshuai) and Chaoxu Guo (@Gus-Guo).