v8.4.9 - `ultralytics 8.4.9` Hyperspectral CopyPaste augmentation (#23471)
๐ Summary (single-line synopsis)
Ultralytics v8.4.9 improves segmentation CopyPaste augmentation reliability (especially for grayscale/hyperspectral-style single-channel inputs) and strengthens the broader export/training ecosystem with better ExecuTorch + Torch support ๐๐งฉ
๐ Key Changes
- ๐งช (Priority) Segmentation CopyPaste mask fix in
ultralytics/data/augment.py:- Builds the contour mask as a 2D (HรW) array instead of matching the full image tensor shape.
- Draws contours onto a single-channel mask using value
1(instead of(1,1,1)), avoiding channel mismatches.
- ๐งพ Version bump:
8.4.8 โ 8.4.9๐ข - ๐ฆ NDJSON datasets always re-download when using
ul://...URIs (instead of silently reusing a cached.ndjson) ๐งนโฌ๏ธ - โ๏ธ ExecuTorch support improvements: