PaddlePaddle / PaddleClas

A treasure chest for visual classification and recognition powered by PaddlePaddle
Apache License 2.0
5.4k stars 1.16k forks source link

如何对网络进行tensorrt测速 #2718

Open violetweir opened 1 year ago

violetweir commented 1 year ago

请问如何把paddleclas中训练好的网络,用tensorrt进行预测,测试速度呀

cuicheng01 commented 1 year ago

1.需要转换inference model 2.可以使用FastDploy进行推理,使用TRT的方式https://github.com/PaddlePaddle/FastDeploy