Improving performance and understanding some detect.py params #4476
Unanswered
schubackindustries
asked this question in
Q&A
Replies: 1 comment
-
|
@schubackindustries you can speed up detection with smaller models, smaller image sizes, and batched inference using PyTorch Hub (see PyTorch Hub tutorial): YOLOv5 Tutorials
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all, great library here, and thankfully I was able to get it up and running on Windows! Not always a guarantee these days...
Anyways I was wondering about performance and some of the parameters I have available for detect.py. Specifically:
What are the main parameters for improving real-time detection speed?
An obvious one is "--imgsz" which I have tried reducing.
What is "--max-det" aka "maximum detections per image"?
Can I improve performance by only trying to detect a given subset of object classes? For example I'm mainly interested in "person" and "car".
What is the difference between yolov5s.pt and yolov5s.ps ? Does one run faster than the other?
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions