Align official YOLO defaults and keep API stable#471
Conversation
|
👋 Hello @glenn-jocher, thank you for submitting a
For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀 |
UltralyticsAssistant
left a comment
There was a problem hiding this comment.
🔍 PR Review
Made with ❤️ by Ultralytics Actions
The default-threshold alignment and log cleanup look good overall, but there are two functional issues on iOS where OBB and segmentation still ignore runtime threshold updates, plus a couple of public API removals that conflict with the stated compatibility goal.
💬 Posted 4 inline comments
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Addressed the review findings:
Validation rerun:
|
|
Follow-up pushed to make model onboarding simpler without adding more resolver complexity:
Validation rerun:
|
|
Huge congratulations on getting this merged, @glenn-jocher! 🎉 This is a thoughtful and impactful release for
That quote fits this PR beautifully: by making defaults clearer, behavior more consistent, and the codebase easier to maintain, you’ve made the plugin more approachable for every contributor and user who builds with it. Thank you for the care, clarity, and long-term thinking behind this release — it’s a meaningful step forward for the Flutter ecosystem around Ultralytics. 🚀 |
Summary
conf=0.25,iou=0.7) across Dart, Android, iOS, example state, and test expectationsValidation
flutter analyzeflutter testflutter analyze(inexample/)flutter build apk --debug(inexample/)flutter build ios --simulator --no-codesign(inexample/)dart pub publish --dry-runNotes
bun run knipis not available in this repo because there is noknipscript inpackage.json.🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
This PR releases
ultralytics_yolo0.3.0 with clearer default model selection, standardized Ultralytics threshold defaults, broad cleanup across Android/iOS/Flutter code, and improved docs/examples 📦✨📊 Key Changes
YOLO.defaultOfficialModel()so apps can easily choose the recommended default official model without hardcoding an ID 🤖confidenceThreshold = 0.25iouThreshold = 0.7This change was applied in Flutter, Android, iOS, tests, docs, and examples 🎯
0.2.0to0.3.0and updated the changelog 🆕YOLOResult🎯 Purpose & Impact