v8.4.187
v8.4.187 - ultralytics 8.4.187 OKS-only label assignment with a pyramid-level gate for YOLO26-pose (#26843)
Added 2
- FCOS-style scale-aware gate limits YOLO26-pose training candidate anchors to feature pyramid levels suited to each object's size, while the finest and coarsest levels remain available for objects outside the usual size range
- Fallback retains ungated candidates when the scale gate would leave a ground truth with no candidates
Changed 2
- YOLO26-pose training assigns ground truths with visible keypoints using keypoint similarity (OKS) only, instead of blending OKS with box overlap
- Ground truths without visible keypoints continue to use box overlap for label assignment
From ultralytics
🌟 Summary
YOLO26-pose training now assigns keypoints using pose accuracy, with a feature-pyramid scale gate to help match objects to suitable training anchors.
📊 Key Changes
- OKS-only matching: For ground truths with visible keypoints, assignment now uses keypoint similarity (OKS) instead of blending it with box overlap.
- Scale-aware candidate selection: An FCOS-style gate limits candidate anchors to pyramid levels suited to each object’s size. The finest and coarsest levels remain available for objects outside the usual size range.
- Fallbacks preserved: If the gate would leave a ground truth with no candidates, the ungated candidates are retained. Ground truths without visible keypoints continue to use box overlap.
- Training-only scope: The change applies to YOLO26-pose training by default. It adds no configuration options or dependencies and does not change inference, export, or the model architecture.
🎯 Purpose & Impact
- 🎯 Encourages training assignments to favor anchors with more accurate keypoints.
- 📏 Helps pure keypoint-based matching account for object size across feature-pyramid levels.
- 🛠️ Users get the updated behavior automatically when training YOLO26-pose; no migration steps are needed.
What's Changed
- ultralytics 8.4.187 OKS-only label assignment with a pyramid-level gate for YOLO26-pose by @Bovey0809 in https://github.com/ultralytics/ultralytics/pull/26843
Full Changelog: https://github.com/ultralytics/ultralytics/compare/v8.4.186...v8.4.187