GithubHelp home page GithubHelp logo

chaomath / centerpoint-livox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tream733/centerpoint-livox

0.0 0.0 0.0 16.51 MB

CenterPoint model trained on livox dataset, and deployed with TensorRT on ros2

C++ 62.01% C 0.47% Cuda 33.91% CMake 3.61%

centerpoint-livox's Introduction

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

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

centerpoint-livox's People

Contributors

tream733 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.