Skip to content

Latest commit

 

History

History

nanodet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Nanodet PyTorch=>ONNX=>TensorRT

1.Reference

2.Export ONNX Model

git clone https://github.com/linghu8812/nanodet.git

copy export_onnx.py into nanodet/tools and run export_onnx.py to generate nanodet-m.onnx.

python tools/export_onnx.py

3.Build nanodet_trt Project

cd ../  # in project directory
mkdir build && cd build
cmake ..
make -j

4.run nanodet_trt

cd ../../bin/
./tensorrt_inference nanodet ../configs/nanodet/config.yaml ../samples/detection_segmentation

5.Results: