Announcing Ultralytics v8.3.8 Release!
Summary
We’re thrilled to announce the release of Ultralytics v8.3.8! This update brings significant performance optimizations, improved exception handling, and enhanced compatibility across platforms. Dive into the details below and see how these changes can benefit your projects.
Key Changes
New Features
- Exception Handling Update: We’ve replaced
contextlib.suppress
withtry-except
blocks, resulting in up to 4x faster exception handling. This change boosts overall application performance.
Improvements
- Queue Management: Our queue management solution is now more streamlined and user-friendly, enhancing workflows, especially in object tracking and counting scenarios.
- Environment Compatibility: Improved image display logic for Colab and Kaggle ensures a smoother experience in Jupyter-based notebooks.
- Documentation: We’ve refined our integration docs with Weights & Biases for better clarity and correctness.
Bug Fixes
- Synthetic COCO Labels: Fixed missing labels in synthetic COCO datasets. PR by @glenn-jocher
- YOLO Checks: Added package name to YOLO checks errors for better debugging. PR by @glenn-jocher
- Final Validation: Prevented final validation if
val=False
. PR by @glenn-jocher - Jupyter Notebooks: Fixed
results.show()
for better compatibility. PR by @glenn-jocher - W&B Docs: Corrected display of admonitions. PR by @jk4e
Purpose & Impact
- Performance: Faster exception handling enhances application speed.
- Code Maintenance: Clearer exception handling improves code readability and eases maintenance.
- User Experience: Enhanced queue management logic ensures smoother workflows.
- Cross-Platform Usability: Improved image display boosts usability on cloud platforms like Colab and Kaggle.
What’s Changed
- Fix synthetic COCO for missing labels by @glenn-jocher
- Add package name to YOLO checks errors by @glenn-jocher
- Prevent final val if val=False by @glenn-jocher
- Fix
results.show()
for Jupyter notebooks by @glenn-jocher - Fix display of admonition in W&B docs by @jk4e
- Update
queue-management
solution by @RizwanMunawar - Update usage for custom Predictor by @Laughing-q
- Respect ENV value for
OMP_NUM_THREADS
if set by @Burhan-Q - Replace
contextlib
withtry
for speed by @glenn-jocher
Full Changelog: v8.3.7…v8.3.8
Try It Now!
We invite you to explore the new features and improvements in v8.3.8. Your feedback is invaluable to us, so please share your thoughts and experiences.
Thank you for being a part of the Ultralytics community!