Skip to content
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

Update pycocotools>=2.0.6 #10605

Merged
merged 4 commits into from
Dec 27, 2022
Merged

Update pycocotools>=2.0.6 #10605

merged 4 commits into from
Dec 27, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Dec 27, 2022

@AyushExel @Laughing-q backpropagating fixes

Signed-off-by: Glenn Jocher [email protected]

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Upgrade of pycocotools package to version 2.0.6 in requirements and more precise version checking for COCO mAP validation.

📊 Key Changes

  • Updated requirements.txt to specify pycocotools version 2.0.6 as a minimum version.
  • Modified val.py and segment/val.py to enforce the requirement for pycocotools version at least 2.0.6 when saving results in COCO format.
  • Adjusted Dockerfile to install pycocotools version 2.0.6 along with other dependencies.

🎯 Purpose & Impact

  • Ensures compatibility and stability by requiring a specific, newer version of pycocotools known to work well with the repository's code.
  • May fix any existing bugs or performance issues present in older versions of pycocotools, improving accuracy and reliability.
  • Users working with COCO mAP validation will experience more consistent outcomes due to the stricter version requirement. 📈

Signed-off-by: Glenn Jocher <[email protected]>
@glenn-jocher glenn-jocher self-assigned this Dec 27, 2022
Signed-off-by: Glenn Jocher <[email protected]>
Signed-off-by: Glenn Jocher <[email protected]>
Signed-off-by: Glenn Jocher <[email protected]>
@glenn-jocher glenn-jocher merged commit 8ca1826 into master Dec 27, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch December 27, 2022 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant