OpenPCDet
OpenPCDet Toolbox for LiDAR-based 3D Object Detection.
Install / Use
/learn @open-mmlab/OpenPCDetREADME
OpenPCDet
OpenPCDet is a clear, simple, self-contained open source project for LiDAR-based 3D object detection.
It is also the official code release of [PointRCNN], [Part-A2-Net], [PV-RCNN], [Voxel R-CNN], [PV-RCNN++] and [MPPNet].
Highlights:
OpenPCDethas been updated tov0.6.0(Sep. 2022).- The codes of PV-RCNN++ has been supported.
- The codes of MPPNet has been supported.
- The multi-modal 3D detection approaches on Nuscenes have been supported.
Overview
Changelog
[2023-06-30] NEW: Added support for DSVT, which achieves state-of-the-art performance on large-scale Waymo Open Dataset with real-time inference speed (27HZ with TensorRT).
[2023-05-13] NEW: Added support for the multi-modal 3D object detection models on Nuscenes dataset.
- Support multi-modal Nuscenes detection (See the GETTING_STARTED.md to process data).
- Support TransFusion-Lidar head, which ahcieves 69.43% NDS on Nuscenes validation dataset.
- Support
BEVFusion, which fuses multi-modal information on BEV space and reaches 70.98% NDS on Nuscenes validation dataset. (see the guideline on how to train/test with BEVFusion).
[2023-04-02] Added support for VoxelNeXt on Nuscenes, Waymo, and Argoverse2 datasets. It is a fully sparse 3D object detection network, which is a clean sparse CNNs network and predicts 3D objects directly upon voxels.
[2022-09-02] NEW: Update OpenPCDet to v0.6.0:
- Official code release of
MPPNetfor temporal 3D object detection, which supports long-term multi-frame 3D object detection and ranks 1st place on 3D detection learderboard of Waymo Open Dataset on Sept. 2th, 2022. For validation dataset, MPPNet achieves 74.96%, 75.06% and 74.52% for vehicle, pedestrian and cyclist classes in terms of mAPH@Level_2. (see the guideline on how to train/test with MPPNet). - Support multi-frame training/testing on Waymo Open Dataset (see the change log for more details on how to process data).
- Support to save changing training details (e.g., loss, iter, epoch) to file (previous tqdm progress bar is still supported by using
--use_tqdm_to_record). Please usepip install gpustatif you also want to log the GPU related information. - Support to save latest model every 5 mintues, so you can restore the model training from latest status instead of previous epoch.
[2022-08-22] Added support for custom dataset tutorial and template
[2022-07-05] Added support for the 3D object detection backbone network Focals Conv.
[2022-02-12] Added support for using docker. Please refer to the guidance in ./docker.
[2022-02-07] Added support for Centerpoint models on Nuscenes Dataset.
[2022-01-14] Added support for dynamic pillar voxelization, following the implementation proposed in H^23D R-CNN with unique operation and torch_scatter package.
[2022-01-05] NEW: Update OpenPCDet to v0.5.2:
- The code of
PV-RCNN++has been released to this repo, with higher performance, faster training/inference speed and less memory consumption than PV-RCNN. - Add performance of several models trained with full training set of Waymo Open Dataset.
- Support Lyft dataset, see the pull request here.
[2021-12-09] NEW: Update OpenPCDet to v0.5.1:
- Add PointPillar related baseline configs/results on Waymo Open Dataset.
- Support Pandaset dataloader, see the pull request here.
- Support a set of new augmentations, see the pull request here.
[2021-12-01] NEW: OpenPCDet v0.5.0 is released with the following features:
- Improve the performance of all models on Waymo Open Dataset. Note that you need to re-prepare the training/validation data and ground-truth database of Waymo Open Dataset (see GETTING_STARTED.md).
- Support anchor-free CenterHead, add configs of
CenterPointandPV-RCNN with CenterHead. - Support lastest PyTorch 1.1~1.10 and spconv 1.0~2.x, where spconv 2.x should be easy to install with pip and faster than previous version (see the official update of spconv here).
- Support config
USE_SHARED_MEMORYto use shared memory to potentially speed up the training process in case you suffer from an IO problem. - Support better and faster visualization script, and you need to install Open3D firstly.
[2021-06-08] Added support for the voxel-based 3D object detection model Voxel R-CNN.
[2021-05-14] Added support for the monocular 3D object detection model CaDDN.
[2020-11-27] Bugfixed: Please re-prepare the validation infos of Waymo dataset (version 1.2) if you would like to use our provided Waymo evaluation tool (see PR). Note that you do not need to re-prepare the training data and ground-truth database.
[2020-11-10] The Waymo Open Dataset has been supported with state-of-the-art results. Currently we provide the
configs and results of SECOND, PartA2 and PV-RCNN on the Waymo Open Dataset, and more models could be easily supported by modifying their dataset configs.
[2020-08-10] Bugfixed: The provided NuScenes models have been updated to fix the loading bugs. Please redownload it if you need to use the pretrained NuScenes models.
[2020-07-30] OpenPCDet v0.3.0 is released with the following features:
- The Point-based and Anchor-Free models (
PointRCNN,PartA2-Free) are supported now. - The NuScenes dataset is supported with strong baseline results (
SECOND-MultiHead (CBGS)andPointPillar-MultiHead). - High efficiency than last version, support PyTorch 1.1~1.7 and spconv 1.0~1.2 simultaneously.
[2020-07-17] Add simple visualization codes and a quick demo to test with custom data.
[2020-06-24] OpenPCDet v0.2.0 is released with pretty new structures to support more models and datasets.
[2020-03-16] OpenPCDet v0.1.0 is released.
Introduction
What does OpenPCDet toolbox do?
Note that we have upgrated PCDet from v0.1 to v0.2 with pretty new structures to support various datasets and models.
OpenPCDet 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 OpenPCDet 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 OpenPCDet soon.
We are actively updating this repo currently, and more datasets and models will be supported soon. Contributions are also welcomed.
OpenPCDet design pattern
- Data-Model separation with unified point cloud coordinate for easily extending to custom datasets:
-
Unified 3D box definition: (x, y, z, dx, dy, dz, heading).
-
Flexible and clear model structure to easily support various 3D detection models:
- Support various models within one framework as:
Currently Supported Features
- [x] Support both one-stage and two-stage 3D object detection frameworks
- [x] Support distributed training & testing with multiple GPUs and multiple machines
- [x] Support multiple heads on different scales to detect different classes
- [x] Support stacked version set abstraction to encode various number of points in different scenes
- [x] Support Adaptive Training Sample Selection (ATSS) for target assignment
- [x] Support RoI-aware point cloud pooling & RoI-grid point cloud pooling
- [x] Support GPU version 3D IoU calculation and rotated NMS
Model Zoo
KITTI 3D Object Detection Baselines
Selected supported methods are shown in t
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
