New Release: Ultralytics v8.4.7

:rocket: Ultralytics v8.4.7 is out! (AVIF training + COCO12-Formats) :framed_picture::test_tube:

Ultralytics v8.4.7 adds AVIF training support :white_check_mark: and introduces a new COCO12-Formats mini-dataset to continuously verify that all supported image formats load end-to-end (especially in CI) :wrench::package:. Check the full release details in the v8.4.7 GitHub release.


:glowing_star: New Features

AVIF training support :white_check_mark::camera:

You can now train directly on .avif imagesβ€”no manual conversion needed :tada:
This expands IMG_FORMATS to include avif via PR #23358 by @glenn-jocher.

More robust decoding for modern formats :shield:

Adds a Pillow-based fallback image reader (_imread_pil) for cases where OpenCV can’t decode AVIF/HEIC reliably across environments :globe_showing_europe_africa:
Included in PR #23358 by @glenn-jocher.

New COCO12-Formats mini-dataset + generator :toolbox:

A tiny 12-image dataset designed to cover every supported image extension, helping catch format-specific failures early :magnifying_glass_tilted_left:
Includes YAML + generator script generate_coco12_formats.py, plus docs + dataset index updates :books:
Shipped in PR #23358 by @glenn-jocher.


:wrench: Improvements

Training reliability (OBB + Pose26 multi-scale) :triangular_ruler:

Fixes loss image-size calculation for OBB and Pose26 multi-scale training in PR #23342 by @lmycross.

Cleaner run outputs + better W&B traceability :card_index_dividers::chart_increasing:

Routes outputs under runs/ by default (better for relative projects) and improves W&B run tracking in PR #23026 by @artest08.

More accurate optimizer group logging :receipt:

Improves optimizer param-group print formatting in PR #23314 by @Laughing-q.

Dataset download resilience :repeat_button::inbox_tray:

Adds retry + validation for NDSON image downloads in PR #23354 by @glenn-jocher.

Multi-scale sampling + docs clarity :blue_book:

Fixes multi_scale range sampling and clarifies docs in PR #23284 by @artest08.


:lady_beetle: Bug Fixes

Semantic segmentation masking/indexing :puzzle_piece:

Fixes semantic segmentation loss indexing issues with overlapping instances in PR #23330 by @lmycross.

Export stability: torch pin for ExecuTorch :safety_pin:

Pins torch < 2.10 to avoid ExecuTorch export incompatibilities in PR #23353 by @onuralpszr.


:memo: Docs Updates (big) :high_voltage:


:waving_hand: New Contributors

Welcome :tada: @artest08 on their first contribution: PR #23026


:test_tube: Try it out

Update and start training (including AVIF images) in minutes:

pip install -U ultralytics
from ultralytics import YOLO

model = YOLO("yolo26n.pt")  # recommended for new projects
model.train(data="coco12-formats.yaml", imgsz=640)

:raising_hands: Feedback wanted

If you hit any edge cases with AVIF/HEIC decoding, dataset loading, exports, or CI consistency, please share details (OS, Python, opencv-python version, and a minimal repro). Your reports help keep Ultralytics YOLO solid across environments :flexed_biceps:

For the complete list of changes, see the v8.4.7 compare view.