-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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 know our accuracy #3533
Comments
👋 Hello @Hussain06061997, thank you for your interest in 🚀 YOLOv5! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution. If this is a 🐛 Bug Report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. If this is a custom training ❓ Question, please provide as much information as possible, including dataset images, training logs, screenshots, and a public link to online W&B logging if available. For business inquiries or professional support requests please visit https://www.ultralytics.com or email Glenn Jocher at glenn.jocher@ultralytics.com. RequirementsPython 3.8 or later with all requirements.txt dependencies installed, including $ pip install -r requirements.txt EnvironmentsYOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training (train.py), testing (test.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu every 24 hours and on every commit. |
@Hussain06061997 your confusion matrix looks great, i.e. good training results. If you'd like to learn more about confusion matrices in general you can visit https://en.wikipedia.org/wiki/Confusion_matrix |
@glenn-jocher I have a question. The confusion matrix does tell the percentage of correctly labeled objects and suppose I have only one class where it'll give the background FP corresponding to that label as 1.0 i.e. 100% (naturally, since all FP belong to that class). I don't get that info from the yolov5 confusion matrix. Is there any way I can get that? (my images include 50-100 small objects in a single picture so its difficult to check FPs by manual inspection) |
@mansi-aggarwal-2504 you can comment this line for absolute values: Line 165 in 5c32bd3
|
@glenn-jocher it's working. Thank you! |
@mansi-aggarwal-2504 good news 😃! I've updated the code in ✅ in PR #3586 and #3587 to make this easier by providing a
Thank you for spotting this issue and informing us of the problem. Please let us know if this update resolves the issue for you, and feel free to inform us of any other issues you discover or feature requests that come to mind. Happy trainings with YOLOv5 🚀! |
@glenn-jocher Can you tell me what is background FN and background FP? |
@pravastacaraka background FN/FP are the percentage of FN/FP that belong to a particular class in your dataset. If you scroll up and see the confusion matrix in my comment, since I have only one class, all FPs are belong to that class and hence, it’s 1.0 (i.e. 100%) and there are 24% flowers that were not detected (FNs). |
❔Question
Anyone please help me to give me detail about my confusion matrix performance
Additional context
The text was updated successfully, but these errors were encountered: