-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
yolov8 cannot show P, R,mAP #387
Comments
👋 Hello @eggmakers, thank you for raising an issue about Ultralytics HUB 🚀! Please visit our HUB Docs to learn more:
If this is a 🐛 Bug Report, please provide screenshots and steps to reproduce your problem to help us get started working on a fix. If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response. We try to respond to all issues as promptly as possible. Thank you for your patience! |
@eggmakers it seems like the issue pertains to a lack of label data in your detect set. YOLOv8 is giving a warning because it can't find any labels in your detect set, so it can't compute the Precision, Recall, and mAP metrics. These metrics require ground truth labels for comparison with your model's predictions, to assess its performance. You might want to re-check your dataset for any inconsistencies or errors in the label files. Be sure that any annotations correspond correctly to the images during training. It's also worth re-verifying if the path to your labels is directed correctly in your dataset.yaml file. If you've recently changed, updated, or moved your data, it could have led to this issue. Always ensure you have the correct and full paths wherever your data is being accessed. Let me know if this helps or if you have additional questions. |
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help. For additional resources and information, please see the links below:
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 YOLO 🚀 and Vision AI ⭐ |
Search before asking
Question
My yolov8 shows a warning when training the UA-DETRAC dataset: WARNING no labels found in detect set, can not compute metrics without labels, and the P, R, and mAP values are zero. My configuration is RTX4060, CuDA version 11.7, and python version 3.8
Additional
No response
The text was updated successfully, but these errors were encountered: