π Summary
Ultralytics v8.4.29 is mainly a training reliability release π§βit makes resume=True much safer and clearer, while also adding a helpful new COCO JSON training guide and small CI/docs/test maintenance updates.
π Key Changes
-
Major (current PR #24021 by @glenn-jocher): safer training resume flow πβ
resume=Truenow only resumes if the checkpoint truly contains resumable training state (like epoch + optimizer state).- If the loaded file is just a model weight file (not a full training checkpoint), Ultralytics now:
- warns clearly β οΈ
- and falls back to fresh training instead of silently misbehaving.
- Trainer-side validation is stricter and explicitly rejects invalid resume checkpoints π«.
- Still supports overriding practical run settings during resume (like
imgsz,batch,device,workers,cache,patience, validation flags, etc.) βοΈ. - Package version bumped from
8.4.28to8.4.29π¦.
-
New docs feature (PR #24005 + cleanup in #24022): train directly from COCO JSON π
- Added a full guide for training YOLO models on COCO JSON annotations without converting to YOLO
.txtlabels. - Includes custom dataset/trainer pattern, caching behavior, config examples, and FAQ.
- Follow-up polish improved formatting/readability and fixed YAML indentation clarity.
- Added a full guide for training YOLO models on COCO JSON annotations without converting to YOLO
-
CI benchmark alignment with latest model family (PR #23965) π
- Docker benchmark workflow now uses YOLO26n instead of YOLO11n, aligning CI with current recommended models.
-
Stability and maintenance π§ͺ
- Prediction test asset URL switched to a more reliable CDN path for
zidane.jpg. - Example dependency bumps in RTDETR ONNXRuntime example (
onnx,requests).
- Prediction test asset URL switched to a more reliable CDN path for
π― Purpose & Impact
- For trainers and ML engineers: fewer resume-related surprises, clearer errors, and safer checkpoint handling during interrupted or restarted runs π‘οΈ.
- For teams running long jobs: reduces risk of accidentally βresumingβ from non-resumable files and wasting compute/time β±οΈ.
- For users with COCO datasets: easier path to experiment without annotation conversion pipelines, while keeping JSON as source of truth π§©.
- For platform/CI reliability: benchmark and test updates improve confidence that container/testing flows reflect current recommended YOLO26 usage π.
What's Changed
- Update Docker Benchmarks CI to YOLO26 by @lakshanthad in #23965
- add guide for training YOLO on COCO JSON without conversion by @raimbekovm in #24005
- Use jsdelivr CDN assets URL for zidane.jpg reliability by @glenn-jocher in #24022
- Bump the pip group across 1 directory with 2 updates by @dependabot[bot] in #24024
ultralytics 8.4.29Trainingresumefixes by @glenn-jocher in #24021
Full Changelog: v8.4.28...v8.4.29