đ Summary
Ultralytics v8.4.27 focuses on more reliable Ultralytics Platform training control (especially cancellation handling) â
, plus several stability fixes for data conversion, postprocessing alignment, Paddle compatibility, and Docker runtime updates đ.
đ Key Changes
-
đ´ Priority update (PR #24008 by @glenn-jocher): Improved Platform training integration
- Added a new sanitizer to clean callback payloads before sending them to the Ultralytics Platform.
- Non-JSON-safe float values are now converted safely, preventing callback encoding failures.
- Centralized cancellation handling in one shared helper, replacing duplicated logic.
- Applied this shared cancellation flow to both training startup and epoch-end callback paths.
- Updated callback reference docs for the new helper functions.
-
đ§Š COCO conversion robustness (PR #23998 by @raimbekovm)
- Fixed
convert_coco()crashes when annotations are missing or have emptykeypoints/segmentation. - Keeps annotation lists in sync to avoid
IndexError.
- Fixed
-
đ¯ Coordinate/mask alignment fix (PR #23995 by @raimbekovm)
- Updated pad rounding in
scale_coords()andscale_masks()to match LetterBox behavior. - Reduces 1-pixel misalignment issues for pose/segmentation outputs.
- Updated pad rounding in
-
đŧ Paddle dependency safety pin (PR #23997 by @Laughing-q)
- Tightened PaddlePaddle requirements to
<3.3.0for export/inference paths to avoid known breakages.
- Tightened PaddlePaddle requirements to
-
đŗ Docker runtime refresh (PR #23991 by @glenn-jocher)
- Base image upgraded to PyTorch
2.11.0(CUDA 12.8, cuDNN 9 unchanged).
- Base image upgraded to PyTorch
-
đ Documentation discoverability (PR #23980 by @raimbekovm)
- Added better cross-links to the YOLO26 End-to-End Detection guide from FAQ and argument docs.
đ¯ Purpose & Impact
-
More dependable Platform workflows đĄī¸
Fewer training tracking failures and more consistent cancellation behavior in cloud-managed runs on the Ultralytics Platform. -
Better training control UX âšī¸
Cancel signals are handled more predictably, reducing confusion and wasted compute. -
Fewer dataset conversion interruptions đĻ
Users converting imperfect COCO labels are less likely to hit hard crashes. -
Cleaner prediction geometry đŧī¸
Improved coordinate/mask consistency helps downstream quality for segmentation and pose tasks. -
Safer dependency behavior âī¸
Paddle users are protected from problematic 3.3.x versions by default. -
Modernized container baseline đ
Docker users get a newer PyTorch runtime with minimal GPU stack risk.
What's Changed
- Pin
paddlepaddle<3.3.0by @Laughing-q in #23997 - fix pad rounding in
scale_coordsandscale_masksto match LetterBox by @raimbekovm in #23995 - add end-to-end detection guide cross-links by @raimbekovm in #23980
- FROM pytorch/pytorch:2.11.0-cuda12.8-cudnn9-runtime by @glenn-jocher in #23991
- fix IndexError in convert_coco with missing keypoints or segmentation by @raimbekovm in #23998
ultralytics 8.4.27Improved Platform training integration by @glenn-jocher in #24008
Full Changelog: v8.4.26...v8.4.27