🌟 Summary
This release brings improved control and reliability to model evaluation, training, and export, with a special focus on RT-DETR validation and memory management. 🚀
📊 Key Changes
- RT-DETR Validator Update: Added a confidence threshold filter to the RT-DETR model validator, so only predictions above a user-defined confidence level are considered during evaluation.
- CoreML Export Simplification: Streamlined CoreML export for classification models, ensuring smoother and more consistent exports.
- AutoBatch Logic Refinement: Improved automatic batch size calculation for training, making it more accurate and robust.
- Better GPU Memory Management: Lowered the threshold for clearing GPU memory during training from 90% to 50%, reducing out-of-memory risks.
- Testing Improvements: Solution tests are now conditionally skipped on Linux (Python 3.11) and Raspberry Pi to avoid known issues.
- Documentation & CI Enhancements: Fixed a broken link in the VS Code integration docs and improved CI reliability for link checking.
🎯 Purpose & Impact
- More Accurate Evaluation: The RT-DETR confidence filter ensures evaluation metrics better reflect real-world performance, giving users greater control and trust in their results.
- Smoother Model Export: Classification models exported to CoreML will now work more reliably, reducing errors and setup confusion.
- Stable Training Experience: Improved batch size selection and earlier GPU memory clearing help prevent crashes and slowdowns, especially on devices with limited resources.
- Reliable Testing & Documentation: Skipping problematic tests and fixing documentation links make the development experience smoother for both users and contributors.
Overall, this update makes Ultralytics models easier to use, more reliable, and better aligned with real-world needs. 🌟
What's Changed
- Remove unreachable CoreML Classify model logic by @rromanchuk in #20167
- AutoBatch: Revert polynomial fitting logic by @Laughing-q in #20173
- Reduce trigger threshold to clear GPU memory to 50% by @Y-T-G in #20179
- Update links.yml with
set -o pipefail
by @glenn-jocher in #20181 - Enable Solutions tests, except on
Linux (Python 3.11)
andRaspberry PI
due to--slow
test errors by @RizwanMunawar in #20174 ultralytics 8.3.109
Addconf
filter to RT-DETR validator by @Y-T-G in #20175
Full Changelog: v8.3.108...v8.3.109