wang-xinyu / tensorrtx

Implementation of popular deep learning networks with TensorRT network definition API
MIT License
6.73k stars 1.74k forks source link

Slow performance in Jetson Xavier NX (Yolov5) #925

Closed RoyCopter closed 2 years ago

RoyCopter commented 2 years ago

Hey, I am getting very slow fps using your guide for the yolov5.

around 74ms per image using yolov5m.engine and around 34ms using the yolov5s.engine. If I resize the image before to to (640,640) I get a little big better performance (54ms for yolov5m and 23 for yolov5s), but I was sure it will be faster..

how can I fix that? thanks!

kleinar commented 2 years ago

@RoyCopter I have the same problem, the inference time is 48ms. Were you able to find out what's wrong?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.