Three weeks after v0.1.0, Oriented-Det v0.1.1 is on PyPI and tagged on GitHub. This is the release that packages the ProbIoU work, closes several MMRotate parity gaps in the training stack, and publishes the eval reports we have been using internally.

If you already read Rotated Faster R-CNN on DOTA without custom CUDA, you have seen the technical story behind the Faster R-CNN Task 1 number. This post is the release note: what changed, how to upgrade, and what to watch for.

Upgrade Link to heading

pip install -U oriented-det
# or pin:
pip install oriented-det==0.1.1

PyTorch is still installed separately for your platform (pytorch.org). Pretrained weights are unchanged in location — dl4eo/oriented-det-pretrained on Hugging Face — but the 1× slugs are first-class in the CLI:

odet pretrained download oriented_rcnn_dota_le90_1x
odet pretrained download rotated_faster_rcnn_dota_le90_1x

Headline: ProbIoU and the updated zoo Link to heading

v0.1.1 ships ProbIoU ROI regression for Rotated Faster R-CNN (roi_box_reg_main_loss_type: probiou with a small Smooth L1 auxiliary). Published DOTA numbers are official Task 1 (hidden test). DOTA recipes train on trainval, so local val mAP is a training monitor, not the zoo headline.

ModelScheduleOfficial Task 1 AP50vs MMRotate 1×Hub slug
Oriented R-CNN1×76.73%+1.04 vs 75.69oriented_rcnn_dota_le90_1x
Rotated Faster R-CNN1× (ProbIoU)74.42%+1.02 vs 73.40rotated_faster_rcnn_dota_le90_1x
Rotated RetinaNet1× (OBB)71.72%+3.30 vs OBB 68.42rotated_retinanet_dota_le90_1x

Accuracy pick: oriented_rcnn_dota_le90_1x. Throughput / finetune pick: rotated_faster_rcnn_dota_le90_1x. For the sampled-rIoU vs ProbIoU trade-offs and why Faster R-CNN beats MMRotate’s Rotated Faster R-CNN on Task 1, see the ProbIoU deep dive.

Official Task 1 is now on the Hub for all four DOTA families at both schedules. Do not quote leaky eval-val.

Model1× AP503× AP501× AP753× AP75
Oriented R-CNN76.73%74.88%50.2451.23
Rotated Faster R-CNN74.42%74.48%41.9045.39
Rotated FCOS73.07%72.91%40.4045.39
Rotated RetinaNet (OBB)71.72%73.89%43.4647.11

Finetune from 1× for Oriented R-CNN, Faster R-CNN, and FCOS (3× AP50 drops or washes; AP75 is the tightness gain). RetinaNet 3× is the AP50 exception (+2.17). Circum-HBB is *_hbb. FCOS 1×/3× lives in the v0.2.0 zoo note.

In June we recommended Oriented R-CNN for quick macOS demos because it behaved well without CUDA rotated-IoU kernels. At this release it is the accuracy default among the ResNet families. Use Faster R-CNN 1× when you want the training-throughput story from July without giving up a competitive Task 1 score. v0.4.0 later put Rotated RTMDet-S at 77.60% Task 1.

Accuracy and speed vs Oriented R-CNN Link to heading

Oriented R-CNN leads Task 1 among the ResNet families. On the tiled-inference stitch, Rotated FCOS 1× is the fastest forward, and Rotated Faster R-CNN is 1.15× Oriented R-CNN. The full table is the July note: one RTX 3090 Ti, 7,669 val tiles, CPU polygon NMS.

ModelTask 1 AP50Wallimg/sms/tile
Rotated FCOS 1×73.07%11.7 min10.91991.6
Rotated RTMDet-S 3×77.60%14.2 min9.017110.9
Rotated Faster R-CNN 1× (ProbIoU)74.42%16.9 min7.565132.2
Oriented R-CNN 1×76.73%19.4 min6.604151.4

Training on the L4 recipe is where Faster R-CNN pulls away: ~58 min/epoch (11h 30m wall) vs ~3 h 1 min/epoch for Oriented R-CNN (1d 12h 22m wall).

Try it: inference on a complex harbor scene Link to heading

To show the throughput pick running end-to-end — no MMRotate stack, no fine-tuning — we ran rotated_faster_rcnn_dota_le90_1x on large.jpg from the oriented-det demo folder: a 1299×1904 RGB aerial tile with a busy harbor — moored ships at arbitrary headings, pier structures, and scattered vehicles.

The DOTA le90 recipe uses a 1024×1024 model canvas. Anything larger triggers padded sliding-window inference: overlapping crops, detections merged back into full-image coordinates, then merge NMS.

Input aerial tile — harbor with ships at many headings

Input aerial tile — harbor with ships at many headings

From the oriented-det repository root:

odet pretrained download rotated_faster_rcnn_dota_le90_1x

odet image-demo demo/large.jpg hf://rotated_faster_rcnn_dota_le90_1x \
  --out-file large_detections.png \
  --device mps \
  --score-thr 0.60 \
  --nms-thr 0.1

On Apple Silicon use --device mps; on Linux with CUDA, --device cuda:0. The hf:// slug resolves config and weights from the pretrained manifest — no separate JSON path needed. --score-thr 0.60 is this checkpoint’s deploy floor (production.score_threshold); --nms-thr 0.1 is the merge NMS used in the rest of the series.

StepDetail
ConfigSidecar JSON next to the Hub checkpoint
Canvas1024×1024 fixed resize per window
Tiling6 windows (1299×1904 vs 1024×1024, default 200 px overlap)
DecodeProduction thresholds from config, overridden by --score-thr / --nms-thr
BackendMPS on Apple Silicon; window micro-batch auto-tuned to 32

Most boxes sit on vessel hulls with headings that match the pier layout. A few harbor labels appear on pier-like structures — expected category overlap on dense waterfront scenes.

Rotated Faster R-CNN 1× detections on the harbor scene

Rotated Faster R-CNN 1× detections on the harbor scene

Useful inference knobs: --score-thr balances recall vs clutter on dense scenes; --nms-thr merges duplicate boxes from overlapping windows; --overlap-pixels defaults to 200 — increase it when targets are large relative to the canvas so nothing is split across windows without a full view in any crop. For smaller targets on satellite tiles, see the Sentinel-2 ship demo (--zoom 4).

MMRotate parity fixes Link to heading

Beyond ProbIoU, v0.1.1 aligns several training details with MMRotate / MMDetection behaviour — the kind of small differences that show up as a few degrees on ships rather than a leaderboard headline.

ROI regression loss. The radian periodic angle loss is gone. Oriented R-CNN uses encoded-space Smooth L1 on all five channels (MMRotate default). Rotated Faster R-CNN uses ProbIoU as the main ROI loss, with a small Smooth L1 auxiliary on the same encoded targets.

Oriented R-CNN. Midpoint RPN and oriented ROI losses use MMDet-style avg_factor normalization. Training RPN proposals are no longer score-filtered. ROI matching defaults to rotated IoU (roi_use_hbb_for_matching: false). Oriented RoIAlign uses the first four FPN levels only.

Rotated RetinaNet. Separate cls/reg four-conv towers with 3×3 prediction heads replace the previous shared tower and 1×1 heads. P6/P7 come from LastLevelP6P7 on C5. Assignment uses rotated IoU; regression uses encoded L1 with avg_factor normalization.

These changes improve reproducibility against MMRotate baselines and tighten angle alignment on elongated objects. They also mean RetinaNet checkpoints from before v0.1.1 are incompatible — re-train or pull Hub weights published after this release.

Eval reports and training provenance Link to heading

Two operational additions matter if you are running your own training runs rather than downloading Hub weights.

Published eval reports under docs/eval-reports/ — per-class AP, confusion matrices, GT-alignment stats, PR curves. For DOTA, the number on the Hub is official Task 1. make eval-val on DOTA val tiles is a training monitor (trainval recipes). On datasets where val never enters train — HRSC test, for example — eval-val is the published metric.

Source provenance metadata in training runs: git_commit, package version, and config hash are recorded alongside checkpoints so you can trace a weight file back to the exact code and config that produced it.

dataset.train_includes_val — a config flag for Airbus Playground-style setups where you train on all folds and use the val fold for monitoring only, without leaking labels into the loss inappropriately.

What did not change Link to heading

The core design from v0.1.0 is intact: pure Python / PyTorch, no MMCV runtime dependency, no custom CUDA kernels for oriented geometry. Sampled GPU rIoU still handles anchor matching; Shapely polygon IoU still drives local mAP reports. Apache 2.0, sovereign deployment, odet CLI workflow — all unchanged.


Written on July 11, 2026 by Jeff Faudi. Link to heading