๐ Summary
This release streamlines model validation, improves memory efficiency for oriented bounding box (OBB) tasks, enhances documentation clarity, and fixes usability issues in the parking management solution. ๐
๐ Key Changes
- Validation Improvements: Removed unused progress bar parameters from all validator classes, making the codebase cleaner.
- OBB Validation Optimization: Set the default confidence threshold for OBB validation to 0.01 (up from 0.001) to reduce memory usage.
- Benchmark Consistency: Updated benchmarking utilities to always use a confidence threshold of 0.001 for reliable mAP comparisons.
- Parking Management Fix: Improved image upload handlingโusers now receive a clear message if no image is selected, preventing errors.
- Documentation Enhancements: Standardized code block formatting and syntax highlighting across all docs for better readability.
- CI Workflow Update: Switched to CPU-only PyTorch (
pytorch-cpu
) for Conda-based continuous integration tests, ensuring compatibility on machines without GPUs.
๐ฏ Purpose & Impact
- Cleaner & More Maintainable Code: Removing unused parameters and improving documentation makes the codebase easier to understand and work with for both new and experienced developers. ๐งน
- Better Memory Management: The higher default confidence threshold for OBB validation prevents excessive memory consumption, making validation more stable, especially on resource-limited systems. ๐ง
- Consistent Benchmarking: Explicitly setting the confidence threshold in benchmarks ensures that performance metrics are comparable and trustworthy. ๐
- Improved User Experience: The parking management solution is now more robust and user-friendly, reducing confusion and preventing errors during image uploads. ๐ ฟ๏ธ๐ผ๏ธ
- Wider Compatibility: CI tests now run smoothly on CPU-only environments, making it easier for contributors and users without GPUs to build and test Ultralytics software. ๐ป
Overall, this update delivers a smoother development and user experience, with optimizations that benefit both everyday users and contributors.
What's Changed
- Fix docs indentation and syntax highlighting by @Laughing-q in #20922
- Fix cancel upload bug in
parking annotator
by @RizwanMunawar in #20926 - Use
pytorch-cpu
for Conda CI tests by @RizwanMunawar in #20931 ultralytics 8.3.150
Set defaultconf=0.01
for OBB validation by @Laughing-q in #20923
Full Changelog: v8.3.149...v8.3.150