Repository navigation
Native YOLO-OBB Hub. Top of the DOTA zoo: yolo_obb_dota_le90_12x official Task 1 77.80% (AP75 52.13, COCO mAP 49.32); COCO trunk yolo_obb_coco_300e (mAP 0.50:0.95 0.41).
Added
- YOLO-OBB Hub —
yolo_obb_dota_le90_12x(12× from COCO; mosaic on, late cosine, DFL 0.75, BCE + TAL; Task 1 77.80%, ahead of RTMDet-S 77.60%) andyolo_obb_coco_300e(horizontal 300e trunk). Recipe:dota_le90_12x_s_coco.json. Report:docs/eval-reports/yolo_obb_dota_le90_12x/. preprocessing.window_size— optional sliding-window slice[H, W]in source pixels forfixed/cropinference. The network still receivestarget_size. Each slice is bilinear-resized onto that canvas (per-axis scale istarget_size / window_size). Null keeps the slice equal totarget_sizeand does not resize crops.padandkeep_ratioignore it.- YOLO-OBB COCO 300e S —
coco_300e_s.json. Ultralytics-style SGD on COCO: 300 epochs, batch 64, HSV only, linear LR0.01 → 1e-4, momentum0.937warmed from0.8, Nesterov, weight decay5e-4on conv weights, EMA mix0.0001, 300 detections per image. Replaces the earlier cosine batch-16 300e recipe and the 500e schedule. lr_scheduler_type: linear— epoch-wise linear decay tolearning_rate * lr_scheduler_linear_end_factor(default0.01). Optional warmup still wraps it.training.nesterov— SGD Nesterov momentum (defaultfalse).evaluation.map_ap_interpolation— per-threshold AP integral whenmap_iou_thresholdsis set."all_point"(default, DOTA / OSSDD) is the VOC area under the precision-recall curve;"coco101"is pycocotools (101 recall points, 100 detections per image and class, classes without ground truth left out of the mean) and matchesCOCOevalstats[0]. The COCO recipe setscoco101.
Changed
-
HSV jitter is a multiplicative gain —
augmentation.hsv_h / hsv_s / hsv_vnow driveRandomHSVGain, the Ultralytics / MMYOLO1 ± U(0, fraction)gain per channel through a uint8 LUT. They were fed to the additive AlbumentationsHueSaturationValue, which at the documented defaults0.7 / 0.4shifted saturation by ±178 and value by ±102 of 255 and collapsed a COCO run to 17.6% at epoch 10. The COCO recipe returns to0.015 / 0.7 / 0.4. -
Exact IoU for horizontal boxes in validation — the GPU sampling IoU path (
val_exact_rotated_iou: false) now computes closed-form axis-aligned IoU when every box angle is a multiple of 90°. The sampling grid under-read COCO mAP 0.50:0.95 by about 1.3 points at the high IoU thresholds. Rotated boxes are unchanged. -
Mosaic box keep —
preprocessing.mosaic_min_visibilitydefaults to0.2. A box is dropped once more than 80% of its area is outside the crop (previously 50%). Scale and translate use the same fraction. -
Roadmap: v0.4.3 and v0.4.4 are dropped as releases. DOTA multi-scale training (the old tile set: patch 1024, overlap 500, resize rates 0.5 / 1.0 / 1.5) is optional, as are recipe improvements on the six current models (AP75 or a weak class on a held-out split at the operating resolution). Swin-T stays v0.5–v0.5.2 on the shared FPN and stays off RTMDet and YOLO-OBB. v1.1 is oriented DINO in this repo, after the stable API.
-
YOLO-OBB horizontal box loss —
yolo_obb_force_horizontaltrains the decoded box with CIoU. Oriented runs stay on ProbIoU. -
YOLO-OBB assignment and loss — soft targets are per object and scaled by that object's best exact IoU. Box and DFL follow those weights, classification gain is 0.5, and the angle L1 turns off for square ground truth.
-
Albumentations is optional (
oriented-det[albumentations]). A normal install no longer pulls it in. The extra stays capped at the last MIT release (albumentations<=2.0.8). No Hub recipe setsenable_albumentation.