🌟 Summary
This release focuses on improved code clarity and reliability, introducing enhanced docstrings and type hints across the Ultralytics codebase, smarter GPU selection, and documentation updates for better user experience. 📝🚀
📊 Key Changes
- Declarative Docstrings & Type Hints: Comprehensive updates to docstrings and type hints throughout the code, making it easier for users and developers to understand and extend Ultralytics functionalities. (PR #20777)
- Smarter GPU Selection: The
select_idle_gpu
function now considers both free memory and GPU utilization, allowing for more efficient and conflict-free device selection. Users can customize thresholds via environment variables. (PR #20780) - Validation Logic Improvements: Enhanced validation for Sony IMX models and dynamic models, ensuring more accurate evaluation results. (PR #20769)
- Documentation Updates: Default IoU threshold in validation docs updated from 0.6 to 0.7, reflecting best practices and helping users achieve cleaner validation results. (PR #20776)
- General Code & Docs Cleanup: Minor corrections, improved function descriptions, and better parameter explanations across examples and core modules.
🎯 Purpose & Impact
- Easier Development & Maintenance: Clearer docstrings and type hints make the codebase more approachable for both new and experienced developers, reducing onboarding time and minimizing errors.
- Better Resource Management: Enhanced GPU selection logic leads to more stable and efficient training, especially in multi-GPU environments.
- Improved Model Evaluation: More accurate validation logic and updated documentation help users configure experiments correctly and interpret results with confidence.
- Seamless Integration: Ongoing improvements ensure better compatibility and smoother workflows with Ultralytics HUB and other tools.
✨ This update makes Ultralytics more robust, user-friendly, and ready for both production and research use!
What's Changed
- Fix default
iou
in validation docs by @Y-T-G in #20776 - AutoDevice: Add utilization criteria by @Laughing-q in #20780
- Fix Sony IMX validation by @Laughing-q in #20769
ultralytics 8.3.144
Declarative docstrings and type hints by @glenn-jocher in #20777
Full Changelog: v8.3.143...v8.3.144