You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit acdadd3
Browse filesBrowse the repository at this point in the historyBrowse files
Release v0.4.2: native YOLO-OBB Hub at Task 1 77.80%.
Ship yolo_obb_dota_le90_12x (from COCO trunk yolo_obb_coco_300e) as top of the
DOTA zoo, prune failed YOLO recipes, and cut the 0.4.2 changelog and docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
-**ONNX export**: pre-NMS ONNX + Python NMS (`odet export` / `make export-onnx`); consumers run ONNX Runtime only
21
21
@@ -46,6 +46,7 @@ uv pip install -e .
46
46
- To auto-activate `.venv` when entering this repo, install the [`direnv`](https://direnv.net/) shell hook and run `direnv allow` from the repo root. The local `.envrc` is intentionally gitignored so each developer can opt in on their machine.
47
47
- From PyPI: `pip install oriented-det`
48
48
- For development and tests: `uv pip install -e ".[dev]"`
49
+
- For photometric Albumentations (optional; no Hub recipe enables it): `uv pip install -e ".[albumentations]"` or `pip install "oriented-det[albumentations]"`. The extra is capped at the last MIT release (`albumentations<=2.0.8`). [AlbumentationsX](https://albumentations.ai/docs/license/) is AGPL-3.0.
49
50
- For the Gradio prediction viewer: `uv pip install -e ".[viewer]"` or `pip install "oriented-det[viewer]"`
50
51
- For **ONNX export**: `uv pip install -e ".[export]"` then `odet export --help` (see [ONNX export](docs/examples/export.md))
51
52
- For **macOS Apple Silicon** or **CPU-only**, see [Installation](docs/getting-started/installation.md) and the [macOS walkthrough](https://deeplearning.earth/posts/2026-06-25_oriented_object_detection_on_macos_in_pure_python/) (`odet image-demo` on MPS, no CUDA toolchain).
- Place exported best checkpoints under **`pretrained/`** or use Hub slugs (`odet pretrained download oriented_rcnn_dota_le90_3x`, `rotated_faster_rcnn_dota_le90_1x`, `rotated_faster_rcnn_dota_le90_3x`, `rotated_fcos_dota_le90_1x`, `rotated_rtmdet_dota_le90_3x`, or `oriented_rcnn_hrsc2016_le90_3x` / `rotated_faster_rcnn_hrsc2016_le90_3x` / `rotated_fcos_hrsc2016_le90_3x`). See [pretrained/README.md](pretrained/README.md) and [configs/README.md](configs/README.md#dota-pretrained-models-model-zoo). Zoo write-ups: [v0.1.1](https://deeplearning.earth/posts/2026-07-11_oriented-det_v0_1_1_prob_iou_mmrotate_parity_and_the_updated_zoo/) · [v0.2.0 FCOS](https://deeplearning.earth/posts/2026-08-28_oriented-det_v0_2_0_rotated_fcos_decoded_riou_and_the_updated_zoo/) · [optical satellite demo](https://deeplearning.earth/posts/2026-09-06_oriented_det_optical_satellite_demo/).
162
+
- Place exported best checkpoints under **`pretrained/`** or use Hub slugs (`odet pretrained download yolo_obb_dota_le90_12x`, `rotated_rtmdet_dota_le90_3x`, `oriented_rcnn_dota_le90_1x`, `rotated_faster_rcnn_dota_le90_1x`, `rotated_fcos_dota_le90_1x`, or `oriented_rcnn_hrsc2016_le90_3x` / `rotated_faster_rcnn_hrsc2016_le90_3x` / `rotated_fcos_hrsc2016_le90_3x`). See [pretrained/README.md](pretrained/README.md) and [configs/README.md](configs/README.md#dota-pretrained-models-model-zoo). Zoo write-ups: [v0.1.1](https://deeplearning.earth/posts/2026-07-11_oriented-det_v0_1_1_prob_iou_mmrotate_parity_and_the_updated_zoo/) · [v0.2.0 FCOS](https://deeplearning.earth/posts/2026-08-28_oriented-det_v0_2_0_rotated_fcos_decoded_riou_and_the_updated_zoo/) · [optical satellite demo](https://deeplearning.earth/posts/2026-09-06_oriented_det_optical_satellite_demo/).
162
163
-**Tiled validation:** after training, run `make preds` then `make metrics`. Published mAP reports: [`docs/eval-reports/`](docs/eval-reports/) (git). Raw detections for the viewer: gitignored [`predictions/`](predictions/).
163
164
164
165
## Important notes
@@ -177,9 +178,11 @@ See **[docs/roadmap.md](docs/roadmap.md)** for the full public plan. Summary:
-**v0.5–v0.5.2**: Swin-T + FPN — Oriented R-CNN (1× and 3× Hub in one release), then Faster R-CNN (v0.5.1), FCOS if latency allows (v0.5.2). Swin stays off RTMDet and YOLO-OBB
183
+
-**Optional, not a release:** DOTA multi-scale training (patch 1024, overlap 500, resize rates 0.5 / 1.0 / 1.5); recipe work on the six current models judged by AP75 or a weak class on a held-out split at the operating resolution
184
+
-**v1.0**: stable API, hosted docs, complete model zoo
185
+
-**v1.1**: oriented DINO in this repo (DOTA; Hub only if it beats Swin Oriented R-CNN)
183
186
184
187
## Contributing
185
188
@@ -191,7 +194,7 @@ OrientedDet is Apache-2.0 open source. For **consulting, training workshops, or
191
194
192
195
## Publishing to PyPI
193
196
194
-
Version **0.4.0** — tag releases as **`v0.4.0`** (git) matching `version` in `pyproject.toml`.
197
+
Version **0.4.2** — tag releases as **`v0.4.2`** (git) matching `version` in `pyproject.toml`.
195
198
196
199
Configs: edit **`configs/`** at the repo root, then **`make sync-configs`** so **`oriented_det/configs/`** stays in sync (see **`oriented_det/configs/vendored_manifest.txt`**). CI runs **`make check-configs`**.
197
200
@@ -222,7 +225,7 @@ make check-configs
222
225
pytest tests/ -q
223
226
```
224
227
225
-
Bump version in `pyproject.toml` and `docs/changelog.md` if needed (currently **0.4.0**).
228
+
Bump version in `pyproject.toml` and `docs/changelog.md` if needed (currently **0.4.2**).
Copy file name to clipboardExpand all lines: configs/README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,12 @@ OrientedDet publishes **DOTA le90 pretrain** checkpoints on Hugging Face Hub. Se
18
18
19
19
Do **not** call HRSC, FAIR1M, SSDD, or HRSID `make eval-val` leaky. That word is DOTA-only. Full table: [Data guide — Train / eval splits](../docs/user-guide/data.md#train--eval-splits).
20
20
21
-
**mAP in README tables** for Faster R-CNN, FCOS, Oriented R-CNN 1× / **3×**, and **RetinaNet 1× / 3×** DOTA is **official Task 1** (the real hidden test). FCOS 3× is also Task 1 (**72.91%**; leaky eval-val 82.32%). Training-time periodic mAP may be higher (non-empty tiles only). Advertised Oriented R-CNN / Faster R-CNN / FCOS zoo is **1×**; 3× is the long-schedule Hub slug (tight boxes / AP75). See [oriented_rcnn/README.md — 1x vs 3x](oriented_rcnn/README.md#1x-vs-3x).
21
+
**mAP in README tables** for DOTA Hub rows is **official Task 1** (the real hidden test). **Top of the zoo:** YOLO-OBB-S 12× **77.80%**, then RTMDet-S 3× **77.60%**. Training-time periodic mAP may be higher (non-empty tiles only). Advertised Oriented R-CNN / Faster R-CNN / FCOS zoo is **1×**; 3× is the long-schedule Hub slug (tight boxes / AP75). See [oriented_rcnn/README.md — 1x vs 3x](oriented_rcnn/README.md#1x-vs-3x).
22
22
23
23
| Model | Config | Hub slug | mAP50 |
24
24
|-------|--------|----------|----------------|
25
+
| YOLO-OBB-S 12× from COCO |[yolo_obb/dota_le90_12x_s_coco.json](yolo_obb/dota_le90_12x_s_coco.json)|`yolo_obb_dota_le90_12x`|**77.80%** official Task 1 |
26
+
| Rotated RTMDet-S 3× |[rotated_rtmdet/dota_le90_3x_s.json](rotated_rtmdet/dota_le90_3x_s.json)|`rotated_rtmdet_dota_le90_3x`|**77.60%** official Task 1 |
25
27
| Oriented R-CNN 1× |[oriented_rcnn/dota_le90_1x.json](oriented_rcnn/dota_le90_1x.json)|`oriented_rcnn_dota_le90_1x`|**76.73%** official Task 1 |
26
28
| Oriented R-CNN 3× |[oriented_rcnn/dota_le90_3x.json](oriented_rcnn/dota_le90_3x.json)|`oriented_rcnn_dota_le90_3x`|**74.88%** official Task 1 |
27
29
| Rotated RetinaNet 1× (OBB) |[rotated_retinanet/dota_le90_1x.json](rotated_retinanet/dota_le90_1x.json)|`rotated_retinanet_dota_le90_1x`|**71.72%** official Task 1 |
@@ -32,7 +34,8 @@ Do **not** call HRSC, FAIR1M, SSDD, or HRSID `make eval-val` leaky. That word is
32
34
| Rotated Faster R-CNN 3× |[rotated_faster_rcnn/dota_le90_3x.json](rotated_faster_rcnn/dota_le90_3x.json)|`rotated_faster_rcnn_dota_le90_3x`|**74.48%** official Task 1 |
33
35
| Rotated FCOS 1× rIoU |[rotated_fcos/dota_le90_1x.json](rotated_fcos/dota_le90_1x.json)|`rotated_fcos_dota_le90_1x`|**73.07%** official Task 1 |
34
36
| Rotated FCOS 3× rIoU |[rotated_fcos/dota_le90_3x.json](rotated_fcos/dota_le90_3x.json)|`rotated_fcos_dota_le90_3x`|**72.91%** official Task 1 |
35
-
| Rotated RTMDet-S 3× |[rotated_rtmdet/dota_le90_3x_s.json](rotated_rtmdet/dota_le90_3x_s.json)|`rotated_rtmdet_dota_le90_3x`|**77.60%** official Task 1 |
@@ -99,7 +102,8 @@ Example in an external project that keeps local dataset fragments:
99
102
-**[rotated_faster_rcnn/](rotated_faster_rcnn/)** — Rotated Faster R-CNN. Standard recipe: ProbIoU main ROI loss, Smooth L1 aux 0.1, angle weight 1.0 (`dota_le90_1x.json`; 3× via `dota_le90_3x.json`). See [rotated_faster_rcnn/README.md](rotated_faster_rcnn/README.md).
100
103
-**[rotated_retinanet/](rotated_retinanet/)** — Rotated RetinaNet (one-stage). See [rotated_retinanet/README.md](rotated_retinanet/README.md).
101
104
-**[rotated_fcos/](rotated_fcos/)** — Rotated FCOS (anchor-free one-stage; L1, optional KFIoU aux, or decoded rIoU primary). See [rotated_fcos/README.md](rotated_fcos/README.md).
-**[yolo_obb/](yolo_obb/)** — YOLO-OBB (C2f CSP + PAFPN speed tier; Hub 12× from COCO, Task 1 **77.80%**). See [yolo_obb/README.md](yolo_obb/README.md).
103
107
104
108
## Muted keys
105
109
@@ -132,7 +136,7 @@ All options, types, and defaults: **[config.schema.json](config.schema.json)** (
132
136
| `production` | Optional **deploy / `image_demo`** overrides: `score_threshold` via `resolve_inference_score_threshold` (does **not** override train-val mAP; `odet preds` ignores it). DOTA 1× recipes set this to eval-val global F1 − **0.05** (Oriented R-CNN **0.55**, Faster R-CNN **0.6**, RetinaNet OBB **0.25** / HBB **0.35**, FCOS **0.2**); 3× inherits those floors. HRSC 1× recipes do the same (Oriented R-CNN / Faster R-CNN **0.85**, FCOS **0.2**). `per_class_score_threshold` merges on top of `evaluation` for preds/deploy only (`merge_per_class_score_thresholds`; mAP IoU is `evaluation.iou_threshold` only). **Decode (deploy / `image_demo`)** — RPN/NMS/threshold fields patch the loaded model via `apply_inference_config_to_model` (DOTA+HRSC+FAIR1M: final NMS **0.1**). **`odet preds`** prefers `evaluation.final_nms_iou_threshold` when set. Not applied during `tools/train.py` (training uses `model.*`, final NMS **0.1**). **Deploy / tiling** — `overlap_pixels`, `ignore_margin_pixels`, canvas flags (see **config.schema.json**). |
|`loss`| loss_type (`focal_weighted` now also scales FCOS/RetinaNet sigmoid focal per class; `background_weight` is ROI-only), class_weight_method, background_weight, focal_alpha, focal_gamma, label_smoothing, **roi_grouped_ce_*** (coarse-to-fine ROI classifier curriculum in one run) |
Copy file name to clipboardExpand all lines: configs/_base_/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# Base configs
2
2
3
-
These files are **base configs** only. They are not used as top-level training configs; they are included via `_base_` in configs under [oriented_rcnn/](../oriented_rcnn/), [rotated_faster_rcnn/](../rotated_faster_rcnn/), [rotated_retinanet/](../rotated_retinanet/), and [rotated_fcos/](../rotated_fcos/).
3
+
These files are **base configs** only. They are not used as top-level training configs; they are included via `_base_` in configs under [oriented_rcnn/](../oriented_rcnn/), [rotated_faster_rcnn/](../rotated_faster_rcnn/), [rotated_retinanet/](../rotated_retinanet/), [rotated_fcos/](../rotated_fcos/), [rotated_rtmdet/](../rotated_rtmdet/), and [yolo_obb/](../yolo_obb/).
0 commit comments