-
-
Notifications
You must be signed in to change notification settings - Fork 6.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
Fix Yolo 8.0.206 scale bug #7821
Conversation
Fix this bug: #6226
CLA Assistant Lite bot All Contributors have signed the CLA. ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 Hello @Alarmod, thank you for submitting an Ultralytics YOLOv8 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify your PR is up-to-date with
ultralytics/ultralytics
main
branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pull
andgit merge main
locally. - ✅ Verify all YOLOv8 Continuous Integration (CI) checks are passing.
- ✅ Update YOLOv8 Docs for any new or updated features.
- ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee
See our Contributing Guide for details and let us know if you have any questions!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7821 +/- ##
=======================================
Coverage 76.93% 76.94%
=======================================
Files 117 117
Lines 14411 14411
=======================================
+ Hits 11087 11088 +1
+ Misses 3324 3323 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I have read the CLA Document and I sign the CLA |
recheck |
Fix this bug: #6226
I have read the CLA Document and I sign the CLA
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Refinement of image and mask scaling logic in Ultralytics utility functions.
📊 Key Changes
scale_image
andscale_masks
functions.top
,left
,bottom
, andright
by directly using integer casted padding values.🎯 Purpose & Impact
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Improved accuracy in image padding logic for machine learning operations.
📊 Key Changes
🎯 Purpose & Impact