IRIS YOLO26n segmentation — continuation on the refined combined dataset
This release fine-tunes the original IRIS YOLO26n-seg checkpoint (SHA-256 906f75d887a9f9d2135813c342bc4d1da298efdb7aebc6bb2898267b06db2774) on the hand-refined polygons of Jyang1206/iris-yolo-refined-combined, pinned to 72d060901a6c58031a03f3031119e38f2f2542cf. No detector predictions were used as training labels. All layers were eligible to update; the optimizer was fresh. It does not continue the previous 13 October candidate.
Data and checkpoint selection
The dataset's arrangement-group splits were preserved: 354 training images / 34 groups, 175 validation / 8 groups, 79 test / 7 groups. Hashes, classes and group isolation were verified, and no byte-identical image crosses splits or overlaps the older benchmark collection. Ultralytics selected the checkpoint by validation fitness (box plus mask mAP50-95). Note: 124 of the 175 validation images are transit-pose frames decoded from video, not the runtime survey view; all 79 test images are survey pose. Test results were not used to tune or select.
Training
65 epochs completed (maximum 100, patience 20; selected epoch 45). Image size 960, batch 2, AdamW, initial learning rate 1e-4, cosine schedule, seed 3301, separate masks with mask_ratio=1, rotation +/-20 degrees, scale 0.25, translation 0.05, mosaic 0.1. Full settings are in metrics.json and results.csv.
Results
Both checkpoints are evaluated with identical inputs and settings within each test set. The two test sets use different label representations and must not be compared with each other.
New test (79 images, refined masks, mask_ratio=1, separate masks):
| Metric | Original IRIS | This release | Change (points) |
|---|---|---|---|
| Box mAP50-95 | 85.56% | 92.42% | +6.86 |
| Mask mAP50-95 | 32.36% | 70.18% | +37.82 |
| Mask mAP50 | 81.37% | 99.46% | +18.08 |
Older fixed regression benchmark (135 images, mask_ratio=4, overlapping masks):
| Metric | Original IRIS | This release | Change (points) |
|---|---|---|---|
| Box mAP50-95 | 86.55% | 82.86% | -3.68 |
| Mask mAP50-95 | 63.37% | 35.80% | -27.57 |
| Mask mAP50 | 81.86% | 76.41% | -5.45 |
This release improves the new refined-mask test substantially and regresses on the older benchmark, especially in mask mAP50-95. It is not an overall detector improvement on every benchmark. The older test has been used repeatedly as a regression benchmark and is not a fresh blind test.
Files and usage
best.pt is CPU-reload-verified, with sanitized host paths, no optimizer state, and tensors identical to the selected training checkpoint. best.onnx is its static, unsimplified opset-17 export: FP32 input images [1,3,960,960], outputs [1,300,38] and [1,32,240,240]. CPU PyTorch/ONNX parity passed on all 175 validation images for detections at confidence >=0.25 and full mask prototypes, rtol=atol=1e-3. Native ROS parity was not evaluated.
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
model = YOLO(hf_hub_download('Jyang1206/iris-overlap-individual-yolo26n-seg', 'best.pt'))
results = model.predict('image.png', imgsz=960, conf=0.25)
Classes: 0 tissue_forceps; 1 artery_forceps; 2 scalpel_handle_small; 3 surgical_scissors; 4 scalpel_handle_large.
History and limitations
The previous default (13 October hand-corrected continuation) is preserved at revision c514a7f42367f07e2ae6066d6b7fe6e814b67f2d; the earlier pseudo-label conservative default at 915da24dd491f5584ed0a923201b5fe753d46430. Pin those revisions for rollback; do not mix their scores with this release.
One camera, one table, one lighting setup and one physical instance per class limit generalization. No clinical, grasp-success or robot-runtime qualification is established. Predictions never grant robot motion authority. This Hub update does not change local runtime assets.
Ultralytics licensing applies; resolve commercial deployment requirements before use.