This repo deploys SMOKE using TensorRT for C++ inference in ROS.
- TensorRT 8.0.1 GA
- CUDA 10.2 (Additional patching required)
- See install
- MMDetection3D (v1.0.0)
pip install torch==1.8.0 torchvision==0.9.0 pip install mmcv-full==1.4.0 pip install mmdet==2.19.0 pip install mmsegmentation==0.20.0 git clone -b v1.0.0rc0 https://gitee.com/open-mmlab/mmdetection3d.git cd mmdetection3d pip install -v -e . # or "python setup.py develop"
- Export ONNX (first comment code in
mmdet3d/models/dense_heads/smoke_mono3d_head.py
)
cd mmdetection3d
python smoke_pth2onnx.py # smoke_dla34.onnx
git clone https://github.com/ChenZjut/ROS_Smoke.git
cd ROS_Smoke
catkin_make
roslaunch laneatt laneatt.launch
- C++ inference
- Measure speed on Orin