- 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
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
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.
git clone https://github.com/kminoda/StreamPETR_TensorRT_ROS2.git
cd StreamPETR_TensorRT_ROS2
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=ReleaseNote 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.
ros2 launch tensorrt_stream_petr tensorrt_stream_petr.launch.xml