PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

推理模型转onnx之后再转tensorrt跟直接使用tensorrt预测有差别吗

Open heyuhhh opened this issue 2 years ago • 1 comments

我这边在使用paddle inference集成的tensorrt时老是会有问题,想问问先转成onnx的话,再转成tensorrt,这种在精度或者速度上有什么损失吗?

heyuhhh avatar Nov 06 '22 09:11 heyuhhh

api都支持的话,一般不会有精度损失(输出diff在1e-4以内),但是速度的话需要实测下

littletomatodonkey avatar Nov 11 '22 09:11 littletomatodonkey