-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
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 get pred box coordinates in loss.py? #7953
Comments
@HongYg box coordinates are not constructed in loss.py, only the minimum deltas (pred-truth) in gridspace are used there. The closest is this: Lines 137 to 143 in 27911dc
|
👋 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 ⭐! |
To answer the original question, you should be able to pull the values from the regression section shown above, and apply the offsets explained in section 4.3 of https://docs.ultralytics.com/yolov5/tutorials/architecture_description#44 |
Search before asking
Question
Hi!
I want to get pred box coordinates in loss.py (x1,y1,y2,y2)
I'm having trouble analyzing it.
What's the solution?
thanks!
Additional
No response
The text was updated successfully, but these errors were encountered: