Skip to content

Commit acdadd3

Browse files
jeffaudicursoragent
andcommitted
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>
1 parent ee391fc commit acdadd3

132 files changed

Lines changed: 11210 additions & 800 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CITATION.cff‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ cff-version: 1.2.0
22
message: If you use OrientedDet, please cite it using these metadata.
33
type: software
44
title: "oriented-det: oriented and rotated object detection in aerial and satellite images"
5-
version: 0.4.1
6-
date-released: "2026-10-10"
5+
version: 0.4.2
6+
date-released: "2026-11-22"
77
doi: 10.5281/zenodo.23273307
88
authors:
99
- family-names: Faudi

‎Makefile‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ EXPORT_CKPT ?= pretrained/rotated_fcos_r50_fpn_dota_le90_1x-a87b6dba.pth
4747
EXPORT_MODE ?= rotated_fcos_pre_nms
4848
EXPORT_ARTIFACTS ?= onnx_export
4949

50-
# Learning rate finder default batch size (lr-finder target also accepts BATCH_SIZE=).
51-
LR_FINDER_BATCH_SIZE ?= 8
52-
5350
# Hugging Face Hub pretrained weights (see oriented_det/pretrained/manifest.json)
5451
HF_REPO_ID ?= dl4eo/oriented-det-pretrained
5552
HF_REVISION ?= main
@@ -87,7 +84,7 @@ help:
8784
@echo " make train-multi-gpu NPROC=4 - Use 4 GPUs (omit NPROC for all available)"
8885
@echo " make wizard - Dataset/config diagnostics (no training, no run directory)"
8986
@echo " make stats - Dataset stats + normalization for CONFIG [MAX_SAMPLES=] [SPLIT=train|val]"
90-
@echo " make lr-finder - LR sweep / suggested base LR for CONFIG [OUTPUT=] [BATCH_SIZE=]"
87+
@echo " make lr-finder - LR sweep at CONFIG's batch size [CONFIG=] [OUTPUT=]"
9188
@echo " make train-help - Raw python training command examples (fine-tuning, overrides)"
9289
@echo ""
9390
@echo "=== Tiled val: predictions & offline metrics ==="
@@ -220,11 +217,12 @@ wizard: check-install
220217
@echo "Running wizard diagnostics with config: $(CONFIG)"
221218
@$(TRAIN_ENV) odet train --config $(CONFIG) --wizard
222219

223-
# Learning rate finder: sweep LR and suggest base learning rate for config (default LR_FINDER_BATCH_SIZE=8; override BATCH_SIZE=)
224-
# Usage: make lr-finder [CONFIG=<path>] [OUTPUT=lr_finder.png] [BATCH_SIZE=8]
220+
# Learning rate finder. Uses CONFIG (default configs/oriented_rcnn/dota_le90_1x.json).
221+
# Batch size stays the one in that config.
222+
# Usage: make lr-finder [CONFIG=<path>] [OUTPUT=lr_finder.png]
225223
lr-finder: check-install
226224
@echo "Running LR finder with config: $(CONFIG)"
227-
@$(TRAIN_ENV) odet lr-finder --config $(CONFIG) $(if $(OUTPUT),--output $(OUTPUT),) --batch-size $(or $(BATCH_SIZE),$(LR_FINDER_BATCH_SIZE))
225+
@$(TRAIN_ENV) odet lr-finder --config $(CONFIG) $(if $(OUTPUT),--output $(OUTPUT),)
228226

229227
# Backward compatibility
230228
train-wizard: wizard

‎README.md‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- **Geometry**: Rotated bounding boxes (rbox: cx, cy, w, h, angle), quadrilateral boxes (qbox), polygon ↔ rbox ↔ hbox conversions, angle normalization (le90, 0–180°), flip/rotate/scale transforms, visualization helpers
1616
- **IoU & NMS**: Rotated IoU and oriented NMS (CPU with optional GPU kernels when available); AABB pre-filtering; `obb_to_xyxy` / HBB conversion
1717
- **Datasets**: DOTA polygon loader (pattern, split file, or separate folders), **HRSC2016** native XML loader, **FAIR1M** 37-class XML loader (+ convert/tile tutorial), **SSDD** and **HRSID** SAR ship loaders (finetune DOTA 1× Hub locally; no SAR zoo), image tiling, label filtering, ignore masks, oriented mAP evaluation
18-
- **Models**: **Oriented R-CNN** ([Xie et al., ICCV 2021](https://openaccess.thecvf.com/content/ICCV2021/html/Xie_Oriented_R-CNN_for_Object_Detection_ICCV_2021_paper.html); horizontal RPN + MidpointOffset → oriented RoIAlign + oriented ROI head), **Rotated Faster R-CNN** (Ren et al., NeurIPS 2015 two-stage baseline with horizontal RPN + horizontal RoIAlign + rotated ROI head; MMRotate reference), **Rotated RetinaNet** ([Lin et al., ICCV 2017](https://openaccess.thecvf.com/content_ICCV_2017/papers/Lin_Focal_Loss_for_ICCV_2017_paper.pdf); oriented anchors, sigmoid focal loss), **Rotated FCOS** (anchor-free single-stage; distance-angle coder, centerness, L1 / KFIoU / decoded rIoU), **Rotated RTMDet** (CSPNeXt + PAFPN single-stage speed tier; SepBN head, dynamic soft-label assigner, decoded rIoU); ResNet + FPN and CSPNeXt backbones; selective loading of external checkpoints where configs wire `checkpoint.load_from_checkpoint`
18+
- **Models**: **Oriented R-CNN** ([Xie et al., ICCV 2021](https://openaccess.thecvf.com/content/ICCV2021/html/Xie_Oriented_R-CNN_for_Object_Detection_ICCV_2021_paper.html); horizontal RPN + MidpointOffset → oriented RoIAlign + oriented ROI head), **Rotated Faster R-CNN** (Ren et al., NeurIPS 2015 two-stage baseline with horizontal RPN + horizontal RoIAlign + rotated ROI head; MMRotate reference), **Rotated RetinaNet** ([Lin et al., ICCV 2017](https://openaccess.thecvf.com/content_ICCV_2017/papers/Lin_Focal_Loss_for_ICCV_2017_paper.pdf); oriented anchors, sigmoid focal loss), **Rotated FCOS** (anchor-free single-stage; distance-angle coder, centerness, L1 / KFIoU / decoded rIoU), **Rotated RTMDet** (CSPNeXt + PAFPN single-stage speed tier; SepBN head, dynamic soft-label assigner, decoded rIoU), **YOLO-OBB** (C2f CSP + PAFPN; DFL box head, task-aligned assigner; Hub Task 1 **77.80%**); ResNet + FPN and CSPNeXt / C2f backbones; selective loading of external checkpoints where configs wire `checkpoint.load_from_checkpoint`
1919
- **Training**: JSON configs + **`odet train`**, mixed precision (AMP), gradient accumulation, checkpointing, best-metric tracking, TensorBoard, optional curriculum learning and profiling
2020
- **ONNX export**: pre-NMS ONNX + Python NMS (`odet export` / `make export-onnx`); consumers run ONNX Runtime only
2121

@@ -46,6 +46,7 @@ uv pip install -e .
4646
- 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.
4747
- From PyPI: `pip install oriented-det`
4848
- 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.
4950
- For the Gradio prediction viewer: `uv pip install -e ".[viewer]"` or `pip install "oriented-det[viewer]"`
5051
- For **ONNX export**: `uv pip install -e ".[export]"` then `odet export --help` (see [ONNX export](docs/examples/export.md))
5152
- 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).
@@ -158,7 +159,7 @@ DOTA configs: per-model `dota_le90_1x.json` under [configs/](configs/) (3× wher
158159

159160
## Pretrained weights and evaluation
160161

161-
- 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/).
162163
- **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/).
163164

164165
## Important notes
@@ -177,9 +178,11 @@ See **[docs/roadmap.md](docs/roadmap.md)** for the full public plan. Summary:
177178
- **v0.3** (shipped): HRSC2016 loader + Hub 3× zoo (Oriented R-CNN 90.41%, Faster R-CNN 88.77%, FCOS 88.34% eval-val); FAIR1M loader + 1× recipes; SSDD + HRSID SAR loaders + 1× recipes (SSDD Faster R-CNN held-out **90.34%**, HRSID **78.55%**; train locally, no SAR Hub)
178179
- **v0.4.0** (shipped): Rotated RTMDet; Hub `rotated_rtmdet_dota_le90_3x` (**77.60%** official Task 1)
179180
- **v0.4.1** (shipped): Citation and discoverability (`CITATION.cff`, oriented/rotated + aerial/satellite copy)
180-
- **v0.4.2**: native YOLO-OBB (already in the tree; COCO pretrain and DOTA training next)
181-
- **v0.4.3**: Rotated RTMDet-S multi-scale DOTA
182-
- **v0.5+**: Swin-FPN backbone; optional fused CUDA kernels; hosted docs
181+
- **v0.4.2** (shipped): native YOLO-OBB; Hub `yolo_obb_dota_le90_12x` (**77.80%** official Task 1; COCO trunk `yolo_obb_coco_300e`)
182+
- **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)
183186

184187
## Contributing
185188

@@ -191,7 +194,7 @@ OrientedDet is Apache-2.0 open source. For **consulting, training workshops, or
191194

192195
## Publishing to PyPI
193196

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`.
195198

196199
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`**.
197200

@@ -222,7 +225,7 @@ make check-configs
222225
pytest tests/ -q
223226
```
224227

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**).
226229

227230
#### 3. Build locally
228231

‎configs/README.md‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ OrientedDet publishes **DOTA le90 pretrain** checkpoints on Hugging Face Hub. Se
1818

1919
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).
2020

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).
2222

2323
| Model | Config | Hub slug | mAP50 |
2424
|-------|--------|----------|----------------|
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 |
2527
| 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 |
2628
| 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 |
2729
| 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
3234
| 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 |
3335
| 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 |
3436
| 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 |
37+
38+
COCO horizontal trunk for YOLO-OBB: [`yolo_obb/coco_300e_s.json`](yolo_obb/coco_300e_s.json) → Hub `yolo_obb_coco_300e` (COCO mAP **0.41**).
3639

3740
## HRSC2016 pretrained models
3841

@@ -99,7 +102,8 @@ Example in an external project that keeps local dataset fragments:
99102
- **[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).
100103
- **[rotated_retinanet/](rotated_retinanet/)** — Rotated RetinaNet (one-stage). See [rotated_retinanet/README.md](rotated_retinanet/README.md).
101104
- **[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).
102-
- **[rotated_rtmdet/](rotated_rtmdet/)** — Rotated RTMDet (CSPNeXt-S + PAFPN speed tier; Hub 3×). See [rotated_rtmdet/README.md](rotated_rtmdet/README.md).
105+
- **[rotated_rtmdet/](rotated_rtmdet/)** — Rotated RTMDet (CSPNeXt-S + PAFPN speed tier; Hub 3×, Task 1 **77.60%**). See [rotated_rtmdet/README.md](rotated_rtmdet/README.md).
106+
- **[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).
103107

104108
## Muted keys
105109

@@ -132,7 +136,7 @@ All options, types, and defaults: **[config.schema.json](config.schema.json)** (
132136
| `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**). |
133137
| `checkpoint` | load_from_checkpoint, load_from_experiment, **discover_previous_run**, resume_from_checkpoint_epoch, load_optimizer_state, load_scheduler_state, load_include_prefixes, load_exclude_prefixes, start_epoch, best_metric, higher_is_better |
134138
| `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) |
135-
| `preprocessing` | resize_mode, target_size, normalize_mean, normalize_std, pad_size_divisor, enable_flip_horizontal, enable_flip_vertical, enable_flip_diagonal, enable_random_rotate, random_rotate_prob, random_rotate_angle_range |
139+
| `preprocessing` | resize_mode, target_size, window_size, normalize_mean, normalize_std, pad_size_divisor, enable_flip_horizontal, enable_flip_vertical, enable_flip_diagonal, enable_random_rotate, random_rotate_prob, random_rotate_angle_range |
136140
| Top-level | **enable_albumentation**, enable_profiling |
137141
| `augmentation` | Albumentations params (when enable_albumentation is true) |
138142
| `tensorboard` | log_debug_anchors_proposals, vis_score_threshold |

‎configs/_base_/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Base configs
22

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/).
44

55
## Contents
66

77
- **datasets/** — Dataset defaults: `dota_le90.json` (tiled DOTA v1.0), `hrsc2016.json` (native XML, single-class ship).
8-
- **models/** — Model backbones and heads: `oriented_rcnn_r50.json`, `rotated_faster_rcnn_r50.json`, `rotated_retinanet_r50.json`.
9-
- **schedules/** — Training schedules: `1x.json`, `3x.json`, `6x.json` (epochs, LR, warmup, etc.).
8+
- **models/** — Model backbones and heads: `oriented_rcnn_r50.json`, `rotated_faster_rcnn_r50.json`, `rotated_retinanet_r50.json`, `rotated_fcos_r50.json`, `rotated_rtmdet_cspnext_s.json` / `rotated_rtmdet_cspnext_tiny.json`, `yolo_obb_s.json` / `yolo_obb_n.json`.
9+
- **schedules/** — Training schedules: `1x.json`, `3x.json`, `6x.json`, `12x.json` (epochs, LR, warmup, etc.).
1010
- **fp16.json** — Mixed-precision (AMP) settings.
1111
- **augmentation.json** — Albumentations / data augmentation.
1212
- **preprocessing.json** — Preprocessing options.

‎configs/_base_/preprocessing.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"pad_size_divisor": 32,
44
"enable_flip_horizontal": true,
55
"enable_flip_vertical": true,
6-
"enable_flip_diagonal": false
6+
"enable_flip_diagonal": false,
7+
"flip_prob": 0.5
78
}
89
}

‎configs/_base_/schedules/12x.json‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"_base_": ["1x.json"],
3+
"training": {
4+
"num_epochs": 144,
5+
"lr_scheduler_step_epochs": 96,
6+
"lr_scheduler_milestones": [96, 132]
7+
}
8+
}

‎configs/_base_/schedules/1x.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
"evaluation": {
2121
"iou_threshold": 0.5,
2222
"val_score_threshold": 0.3,
23-
"val_map_at_end": false,
24-
"test_map": true
23+
"val_map_at_end": false
2524
},
2625
"data_loader": {
2726
"batch_size": 50,

0 commit comments

Comments
 (0)