-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
Background fn #8000
Comments
@adelchellabi these are no different than TPs and FPs for any other class in the matrix. |
👋 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, you're saying background is another class? Then I believe the codes here are correct. Lines 166 to 176 in d3ea0df
For each ground truth label, if there is no match, the model predicted it as background, so it's a false positive. For each detection class, if there is no object hit, the model predicted it as non-background, so it's a false negative. However, the visualization seems wrong. I mean |
@hotohoto True object (column) predicted as background (last row) is a FN, so labels are correct. |
@glenn-jocher Then do you think the comments in L171 (and L176) should be fixed? But if we say the background is a class, then we might be able to say the model predicted the area as positive of the background class but it is a false prediction, then we would call it a background false positive like the comment says. Personally, I like this explanation a bit more. Anyway, if I got the code correctly, there seems to be a conflict between the comments in L171/L176 and the visualization. Still, it's possible I might have misunderstood the code though. 🤔 |
@hotohoto hi, thank you for your feature suggestion on how to improve YOLOv5 🚀! The fastest and easiest way to incorporate your ideas into the official codebase is to submit a Pull Request (PR) implementing your idea, and if applicable providing before and after profiling/inference/training results to help us understand the improvement your feature provides. This allows us to directly see the changes in the code and to understand how they affect workflows and performance. Please see our ✅ Contributing Guide to get started. |
Search before asking
Question
Hello
I don't understand what is background fn and background fp in confusion matrix (in the last row )
Please can you explain to me the meaning of this two things and thank you 😊
Additional
No response
The text was updated successfully, but these errors were encountered: