🌟 Summary
Version 8.3.30 of Ultralytics introduces a resilient fallback for running task alignment processes on CPU in case of GPU memory shortages, enhancing stability and user experience for YOLO applications. 🚀
📊 Key Changes
- Memory Management: Implemented a CPU fallback mechanism for task alignment calculations if a GPU
torch.OutOfMemoryError
occurs. - Method Refactoring: Introduced a helper method
_forward
to elegantly manage memory overflow conditions. - Docker and Documentation Fixes: Improved Docker image tagging and fixed a broken Jetson device documentation link.
- Enhanced Features: Simplified documentation examples and introduced a new
RegionCounter
module for easier region-based object counting.
🎯 Purpose & Impact
- Stability and Reliability: By ensuring task alignment processes can run on CPU under memory pressure, the update prevents application crashes and allows users with limited GPU resources to continue operations smoothly.
- User Experience: The changes make YOLO operations more flexible and robust, especially in environments with constrained computational resources, helping users to maintain performance without interruptions.
- Documentation and Usability: Improved documentation clarity makes it easier for both new and existing users to implement video analytics and other YOLO model features effectively. The
RegionCounter
addition simplifies integrating real-time object counting in specific video regions, broadening the tool's practical applications. 🔧
These updates and enhancements ensure that users have a smoother and more reliable experience with Ultralytics YOLO, particularly in resource-constrained settings.
What's Changed
- Fix Docker
jupyter
image naming by @ambitious-octopus in #17479 - Include FPs for images with no labels in confusion matrix by @Y-T-G in #17481
- Simplify Solutions Docs code examples by @RizwanMunawar in #17493
- Fix broken Jetson doc URL by @lakshanthad in #17519
- Update models.md by @glenn-jocher in #17525
- Add return check for 'yolo solutions help' by @RizwanMunawar in #17518
- Update sony-imx500.md by @ServiAmirPM in #17491
- Fix
file_name
insave_crop
by @M3nxudo in #17499 - Add region counter as ultralytics solution by @RizwanMunawar in #17439
ultralytics 8.3.30
run TAL on CPU iftorch.OutOfMemoryError
by @Laughing-q in #17515
New Contributors
- @ServiAmirPM made their first contribution in #17491
- @M3nxudo made their first contribution in #17499
Full Changelog: v8.3.29...v8.3.30