Skip to content

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Repository files navigation

TensorRT StreamPETR

  • Inference from bin files
  • Inference from bin files with position embedding computed online
  • Inference from bin files with position embedding computed at the initial step
  • Inference from ROS topics for NuScenes dataset

Setup

Step 1: Prepare ONNX

Follow ONNX conversion instruction from official repository and NVIDIA.

For StreamPETR repository, please use this one: https://github.com/kminoda/StreamPETR/blob/main/tools/pth2onnx.py

Step 1.5: Prepare temporary bin files

Follow the instruction from NVIDIA to produce the bin files from NuScenes beforehand. Note that this feature will soon be removed and will support input from ROS 2 topics instead.

Step 2: Prepare this repository

git clone https://github.com/kminoda/StreamPETR_TensorRT_ROS2.git
cd StreamPETR_TensorRT_ROS2
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Note that currently this repository heavily depends on Autoware Universe. Thus, you need to build and source the setup.bash beforehand. For this, please follow the instruction from Autoware.

How to run

ros2 launch tensorrt_stream_petr tensorrt_stream_petr.launch.xml

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages