-
-
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
mAP different between YOLO and COCO #1191
Comments
Hello @tangzhe1995, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook 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 model or data training question, please note Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com. |
@tangzhe1995 pycocotools is the official metric of the COCO dataset, i.e. 0.492 above. For reasons unclear, our in-house mAP calculation is typically about 1-2% below pycocotools results, i.e. 0.476 above. |
@glenn-jocher Thanks for quick reply. I Got it. |
@tangzhe1995 BTW, a recent PR closed this gap a bit, see #1206 |
Can you share the code you used for the COCO mAP for your official page? @glenn-jocher |
@Mary14-design, we're glad you're interested in the details of our evaluation! The mAP reported on the official page was obtained by using the test.py script provided in the YOLOv5 repository, followed by the COCO API evaluation with the generated results files. Here's a quick overview:
python test.py --data coco.yaml --weights yolov5x.pt --save-json
This process ensures adherence to COCO's evaluation standards. Hopefully, this clarifies your query! Let me know if you have further questions. 😊 |
❔Question
Hi, I confuse that the mAP results are different between test.py of YOLOv5 and pycocotools of COCO. Can anyone help with this question?
Thank you.
Additional context
The text was updated successfully, but these errors were encountered: