centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint

Repository Summary

Description CenterPoint model trained on livox dataset, and deployed with TensorRT on ros2
Checkout URI https://github.com/tream733/centerpoint-livox.git
VCS Type git
VCS Version master
Last Updated 2023-08-15
Dev Status UNKNOWN
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
centerpoint 0.0.1

README

centerpoint-livox: An Lidar Object Detection project implemented by TensorRT

CenterPoint model trained on livox dataset and deployed with TensorRT on ros2. Code is written according to this project.

Overall inference has three phases:

  • Conver points cloud into boolmap;
    boolmap: use true or fasle to describe voxels
    (N,5)–>(1,30,448,1120); 5D: index in one batch, x, y, z, i
  • Run rpn backbone TensorRT engine to get 3D-detection raw data
    (1,30,448,1120)–>box:(500,7),score:(500),label:(500)
  • do mask and nms on cuda c to get filtered output
    box:(500,7),score:(500),label:(500)–>output_box:(num,7),output_score:(num),output_label:(num)

Data

the project is running inference on LivoxOpenDataSet.

Model

The .pt file you can get in this project. the onnx file is provided by this project. You can also get the onnx file by yourself through programming, but you have to consider the problem that onnx does not support atan2.

Prerequisites

TensorRT and cuda are necessary conditions for running centerpoint

Environments

  • Nvidia RTX 3060 Laptop GPU
  • Cuda11 + cuDNN8 + tensorrt8
  • ws_msgs here: https://github.com/Tream733/ws_msgs

Performance in FP16

| Function(unit:ms) | NVIDIA RTX 3060 Laptop GPU | NVIDIA Jetson AGX Orin      |
| ----------------- | --------------------------- | --------------------------- |
| Preprocess        | 0.044534 ms                 | 0.323782  ms                 |
| Rpn               | 25.0291  ms                 | 48.5475  ms                 |
| Postprocess       | 0.80967 ms                  | 1.8511  ms                 |
| Summary           | 25.8914  ms                 | 50.7353  ms                 |

Visualization

Visualization

References

CONTRIBUTING

No CONTRIBUTING.md found.

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository

centerpoint-livox repository