-
-
Notifications
You must be signed in to change notification settings - Fork 16k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to convert model output to coordinates? #8149
Comments
I think the [300, 6] are 300 rows with size of 6 [x1, x2, y1, y2, score, label]. You can set a score threshold and filter this 300 rows, or you can choose top n out of the 300 by sorting the scores. hope it helps. |
@chen2mg The lowest score I got is 0.99998. I'm afraid which one to drop! |
👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs. Access additional YOLOv5 🚀 resources:
Access additional Ultralytics ⚡ resources:
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed! Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐! |
So is it here is part:
And here is what I've done:
|
@ArgoHA based on the provided snippet, it looks like you have the correct interpretation of the output format as Please check the following:
Feel free to share more details about your training and inference process or consider consulting the YOLOv5 documentation at https://docs.ultralytics.com/yolov5/ for additional in-depth help. Best of luck! |
Search before asking
Question
I always get shape (300, 6) as the output from the "non_max_suppression" function, no matter what image I'm inferencing on. What does this 300 mean? Could you please share how to interpret it to coordinates?
Additional
Found another comment similar to my issue but didn't get any solution from there.
#708 (comment)
The text was updated successfully, but these errors were encountered: