Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.1 KB

File metadata and controls

42 lines (27 loc) · 1.1 KB

CenterFace Network ONNX=>TensorRT

1.Reference

2.Export ONNX Model

  • export centerface.onnx model
python3 export_onnx.py
  • export centerface_bnmerged.onnx model
python3 export_onnx.py  --pretrained ./centerface_bnmerged.onnx --onnx ./centerface_bnmerged.onnx

3.TRT

INPUT

[batch_size,3,640,640]

OUTPUT

[batch_size,1,160,160]

[batch_size,2,160,160]

[batch_size,2,160,160]

[batch_size,10,160,160]

dynamic shape

define the input/output data as variables of dynamic shape (batch_size,3,640,640).

issue

4.Results