Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.13 KB

File metadata and controls

51 lines (30 loc) · 1.13 KB

Nanodet PyTorch=>ONNX=>TensorRT

1.Reference

2.Export ONNX Model

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

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

not support dynamic batch

python3 tools/export.py

3.TRT

INPUT

[1,3,320,320]

OUTPUT

[1,1600,80]

[1,400,80]

[1,100,80]

[1,1600,32]

[1,400,32]

[1,100,32]

4.Results

nanodet-m

nanodet-g

nanodet-EfficientNet-Lite0_320

nanodet-EfficientNet-Lite1_416

nanodet-EfficientNet-Lite2_512

nanodet-RepVGG-A0_416