Skip to content

Commit dfb6614

Browse files
committed
Publish new DOTA 1× weights to the Hub (using Task1 metrics) and clarify train-val score threshold. Bump PyTorch version floor so we do not need to pin NumPy<2
- Modified `Makefile` to clarify evaluation commands and dataset handling for DOTA. - Upgraded dependencies in `pyproject.toml` for `torch`, `torchvision`, and `numpy` to enhance compatibility and performance. - Revised `README.md` to reflect updated installation instructions and clarify evaluation metrics for DOTA and HRSC2016 datasets. - Enhanced `requirements.txt` to align with updated dependency versions. - Improved configuration schema in `config.schema.json` to better define evaluation thresholds and metrics. - Updated dataset documentation to clarify training and evaluation splits for DOTA and HRSC2016.
1 parent d69ff87 commit dfb6614

85 files changed

Lines changed: 23903 additions & 21387 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.

‎.gitignore‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
.DS_Store
33
._.DS_Store
44

5-
# Personal notebooks and scripts
6-
notebooks/
5+
# Personal documents and scripts
76
cursor/
87
docs/roadmap-detailed.md
98
tools/test_*
109
.cursor/
1110
.python-version
11+
# Personal scripts at the repo root only (e.g. launch_vm.sh, pull_from_remote.sh).
12+
/*.sh
1213
# NOTE: keep GitHub workflows tracked (CI).
1314
# .github/
1415

‎Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ help:
8484
@echo " make train-help - Raw python training command examples (fine-tuning, overrides)"
8585
@echo ""
8686
@echo "=== Tiled val: predictions & offline metrics ==="
87-
@echo " make eval-val - preds then metrics on newest predictions/<ts>/ (same vars as below)"
87+
@echo " make eval-val - preds then metrics on recipe val (DOTA: leaky; real test is Task 1 / make dota-submit)"
8888
@echo " make preds - Val inference → predictions/<ts>/predictions.json (eval NMS via evaluation.final_nms_iou_threshold; no GPU mAP)"
8989
@echo " make metrics - Offline mAP/PR on METRICS_PRED_DIR or latest predictions/"
9090
@echo " make train-preds - Train split + tile_metrics.csv (latest exp; SAVE_TRAIN_PRED_OUT= optional)"
@@ -335,7 +335,7 @@ metrics: check-install
335335
# Convert existing JSON:
336336
# make dota-submit FROM_JSON=predictions/<ts> OUT=work_dirs/Task1_orcnn
337337
# Hub zoo (sidecar config; unlabeled official test):
338-
# make dota-submit CHECKPOINT=hf://oriented_rcnn_dota_le90_3x TEST_DIR=/data/DOTA-v1.0/test OUT=work_dirs/Task1_orcnn
338+
# make dota-submit CHECKPOINT=hf://oriented_rcnn_dota_le90_3x TEST_DIR=/path/to/data/DOTA-v1.0/test OUT=work_dirs/Task1_orcnn
339339
# Or a local training run:
340340
# make dota-submit EXPERIMENT=runs/oriented_rcnn/<id> TEST_DIR=/path/to/DOTA/test OUT=work_dirs/Task1_orcnn
341341
dota-submit: check-install

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ cd ~/oriented-det
2424
uv venv --python 3.12
2525
source .venv/bin/activate
2626

27-
# Install PyTorch with CUDA 12.1 from PyTorch's index (2.3.0 or a higher version is fine)
28-
uv pip install "torch>=2.3.0" "torchvision>=0.18.0" --index-url https://download.pytorch.org/whl/cu121
27+
# Install PyTorch with CUDA 12.1 from PyTorch's index (2.4.0 or a higher version is fine)
28+
uv pip install "torch>=2.4.0" "torchvision>=0.19.0" --index-url https://download.pytorch.org/whl/cu121
2929

3030
# Install dependencies and the project in editable mode
3131
uv pip install -r requirements.txt
@@ -118,13 +118,13 @@ Install once: `uv pip install -e .`. Then:
118118
| Tile DOTA | `odet tile-dota /path/to/dota/train` |
119119
| HRSC2016 → DOTA (optional) | `odet hrsc-to-dota --data-root /path/to/HRSC2016 --output-dir /path/to/HRSC2016-dota` |
120120
| Val predictions | `odet preds --experiment-dir runs/oriented_rcnn/<timestamp>` or `make preds` |
121-
| Offline mAP | `make eval-val` or `make preds` then `make metrics` |
121+
| Offline mAP | `make eval-val` or `make preds` then `make metrics`. DOTA: leaky val tiles (real test is Task 1). HRSC/FAIR1M: held-out test/val. |
122122

123123
DOTA configs: per-model `dota_le90_1x.json` under [configs/](configs/) (3× where published; Faster R-CNN and FCOS DOTA are 1×). Run `odet --help` for all subcommands. Makefile shortcuts and script-level options: [tools/README.md](tools/README.md). Config reference: [docs/user-guide/configuration.md](docs/user-guide/configuration.md), [configs/config.schema.json](configs/config.schema.json), [configs/README.md](configs/README.md).
124124

125125
## Pretrained weights and evaluation
126126

127-
- Place exported best checkpoints under **`pretrained/`** or use Hub slugs (`odet pretrained download oriented_rcnn_dota_le90_1x`, `oriented_rcnn_dota_le90_3x`, `rotated_faster_rcnn_dota_le90_1x`, `rotated_faster_rcnn_dota_le90_3x`, `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).
127+
- 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`, 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).
128128
- **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/).
129129

130130
## Important notes

‎configs/README.md‎

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,50 @@ Training and evaluation are driven by **JSON config files** with MMRotate-style
66

77
OrientedDet publishes **DOTA le90 pretrain** checkpoints on Hugging Face Hub. See [pretrained/README.md](../pretrained/README.md) and per-model READMEs below.
88

9-
**Split protocol (important):**
9+
**Split protocol (`make eval-val` is not always held-out):**
1010

11-
- **Training: train+val** — `train_tiles_dirs` unions `train` and `val` tile roots (DOTA benchmark pretrain, same idea as MMRotate).
12-
- **Evaluation: val** — mAP is on the **val** tile set only.
13-
- This is **not** a fine-tune train/val holdout: val tiles are included in training.
11+
| Dataset | Train | `make eval-val` | Held-out test |
12+
|---------|-------|-----------------|---------------|
13+
| **DOTA v1.0** | train **+ val** tiles (`train_tiles_dirs`; MMRotate pretrain) | **Leaky** — val tiles are also in train | **Official Task 1** (`make dota-submit`; labels not public) |
14+
| **HRSC2016** | ImageSets **trainval** | ImageSets **test** (453 images) | Same as eval-val — test is **not** in train |
15+
| **FAIR1M** | official **train** tiles only | official **val** tiles | Gaofen test labels are not public; val is **not** in train |
1416

15-
**mAP in README tables** for Faster R-CNN, FCOS, and Oriented R-CNN 1× DOTA is **official Task 1** (hidden test). Oriented R-CNN 3× / RetinaNet DOTA still quote **`make eval-val`** mAP50 (7,669 val tiles, `filter_empty_gt=false`, rotated IoU ≥ 0.50). Training-time periodic mAP may be higher (non-empty tiles only). Val tiles are in the train union.
17+
Do **not** call HRSC or FAIR1M `make eval-val` leaky. That word is DOTA-only. Full table: [Data guide — Train / eval splits](../docs/user-guide/data.md#train--eval-splits).
18+
19+
**mAP in README tables** for Faster R-CNN, FCOS, Oriented R-CNN 1×, and **RetinaNet 1×** DOTA is **official Task 1** (the real hidden test). FCOS 3× is also Task 1 (**72.91%**; leaky eval-val 82.32%). Oriented R-CNN 3× / RetinaNet 3× still quote leaky **`make eval-val`** mAP50 (7,669 val tiles, `filter_empty_gt=false`, rotated IoU ≥ 0.50) until those 3× Task 1 scores land. Training-time periodic mAP may be higher (non-empty tiles only).
1620

1721
| Model | Config | Hub slug | mAP50 |
1822
|-------|--------|----------|----------------|
1923
| 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 |
20-
| Oriented R-CNN 3× | [oriented_rcnn/dota_le90_3x.json](oriented_rcnn/dota_le90_3x.json) | `oriented_rcnn_dota_le90_3x` | 79.40% eval-val |
21-
| Rotated RetinaNet 3× | [rotated_retinanet/dota_le90_3x.json](rotated_retinanet/dota_le90_3x.json) | `rotated_retinanet_dota_le90_3x` | 71.52% eval-val |
24+
| Oriented R-CNN 3× | [oriented_rcnn/dota_le90_3x.json](oriented_rcnn/dota_le90_3x.json) | `oriented_rcnn_dota_le90_3x` | 79.40% leaky eval-val |
25+
| Rotated RetinaNet 1× (HBB) | [rotated_retinanet/dota_le90_1x.json](rotated_retinanet/dota_le90_1x.json) | `rotated_retinanet_dota_le90_1x` | **67.87%** official Task 1 |
26+
| Rotated RetinaNet 3× | [rotated_retinanet/dota_le90_3x.json](rotated_retinanet/dota_le90_3x.json) | `rotated_retinanet_dota_le90_3x` | 71.52% leaky eval-val |
2227
| Rotated Faster R-CNN 1× | [rotated_faster_rcnn/dota_le90_1x.json](rotated_faster_rcnn/dota_le90_1x.json) | `rotated_faster_rcnn_dota_le90_1x` | **74.42%** official Task 1 |
2328
| 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 |
2429
| 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 |
25-
| Rotated FCOS 3× rIoU | [rotated_fcos/dota_le90_3x.json](rotated_fcos/dota_le90_3x.json) | `rotated_fcos_dota_le90_3x` | 82.32% eval-val |
30+
| 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 |
2631

2732
## HRSC2016 pretrained models
2833

29-
**Training: ImageSets trainval.** **Evaluation: ImageSets test** (453 images). Whole-image `keep_ratio` + pad-32. FCOS HRSC 1×/3× and Oriented R-CNN / Faster R-CNN 3× use random rotate p=0.5 ±20°; Oriented R-CNN / Faster R-CNN 1× leave rotate off.
34+
**Training: ImageSets trainval.** **Evaluation: ImageSets test** (453 images) — **held-out**, not in training. Whole-image `keep_ratio` + pad-32. FCOS HRSC 1×/3× and Oriented R-CNN / Faster R-CNN 3× use random rotate p=0.5 ±20°; Oriented R-CNN / Faster R-CNN 1× leave rotate off.
3035

31-
| Model | Config | Hub slug | eval-val mAP50 |
36+
| Model | Config | Hub slug | held-out test mAP50 |
3237
|-------|--------|----------|----------------|
3338
| Oriented R-CNN 3× | [oriented_rcnn/hrsc2016_le90_3x.json](oriented_rcnn/hrsc2016_le90_3x.json) | `oriented_rcnn_hrsc2016_le90_3x` | 90.41% |
3439
| Rotated Faster R-CNN 3× | [rotated_faster_rcnn/hrsc2016_le90_3x.json](rotated_faster_rcnn/hrsc2016_le90_3x.json) | `rotated_faster_rcnn_hrsc2016_le90_3x` | 88.77% |
3540
| Rotated FCOS 3× rIoU | [rotated_fcos/hrsc2016_le90_3x.json](rotated_fcos/hrsc2016_le90_3x.json) | `rotated_fcos_hrsc2016_le90_3x` | 88.34% |
3641

3742
### FAIR1M le90 (train locally — finetune DOTA 1× Hub; no FAIR1M zoo)
3843

39-
| Recipe | Config |
40-
|--------|--------|
41-
| Oriented R-CNN 1× | [oriented_rcnn/fair1m_le90_1x.json](oriented_rcnn/fair1m_le90_1x.json) |
42-
| Rotated Faster R-CNN 1× | [rotated_faster_rcnn/fair1m_le90_1x.json](rotated_faster_rcnn/fair1m_le90_1x.json) |
43-
| Rotated FCOS 1× rIoU | [rotated_fcos/fair1m_le90_1x.json](rotated_fcos/fair1m_le90_1x.json) |
44+
**Training: official train tiles only.** **Evaluation: official val tiles** — **held-out**, not in training (unlike DOTA). Tiled official val, not Gaofen hidden test (labels not public). Mid-30s mAP50 is expected — FAIR1M is 37 fine-grained classes, not DOTA’s 15.
45+
46+
| Recipe | Config | tiled-val mAP50 |
47+
|--------|--------|-----------------|
48+
| Oriented R-CNN 1× | [oriented_rcnn/fair1m_le90_1x.json](oriented_rcnn/fair1m_le90_1x.json) | (not run) |
49+
| Rotated Faster R-CNN 1× | [rotated_faster_rcnn/fair1m_le90_1x.json](rotated_faster_rcnn/fair1m_le90_1x.json) | **36.70%** (`runs/rotated_faster_rcnn/20260910-072116`) |
50+
| Rotated FCOS 1× rIoU | [rotated_fcos/fair1m_le90_1x.json](rotated_fcos/fair1m_le90_1x.json) | (not run) |
4451

45-
See [Data guide — FAIR1M](../docs/user-guide/data.md#fair1m).
52+
See [Data guide — FAIR1M](../docs/user-guide/data.md#fair1m) (local 1× story, literature band, class-confusion diagnosis).
4653

4754
Download: `odet pretrained download <slug>` or `"load_from_checkpoint": "hf://<slug>"`. Published eval-val reports: [`docs/eval-reports/`](../docs/eval-reports/) (markdown + analysis JSON; `predictions.json` stays in gitignored [`predictions/`](../predictions/) for the viewer).
4855

@@ -102,8 +109,8 @@ All options, types, and defaults: **[config.schema.json](config.schema.json)** (
102109
| `data_loader` | batch_size, num_workers, shuffle, pin_memory |
103110
| `model` | backbone, fpn_*, anchor_*, target_means/stds, roi_* (loss, batch, iou, schedule, **roi_proj_xy**), rpn_*, use_hbb_for_matching, add_gt_as_proposals, **rpn_nms_threshold** (proposal NMS), **final_nms_iou_threshold** / **final_nms_iou_schedule_*** (post–ROI-head NMS), **final_nms_use_cpu** (exact polygon final NMS on CPU), nms_class_agnostic, max_detections_per_image, inference_pre_nms_score_threshold |
104111
| `training` | **lr_scheduler_type** first, then lr_scheduler_*, lr_warmup_steps, lr_scaling_*, use_lr_param_groups, lr_mult_*, then num_epochs, learning_rate, momentum, weight_decay, use_amp, gradient_accumulation_steps, max_grad_norm, loss_weights. See [Training — Learning rate scheduling](../docs/user-guide/training.md#learning-rate-scheduling) and [_base_/schedules/README.md](_base_/schedules/README.md). |
105-
| `evaluation` | score_threshold (train val), **`preds_score_threshold`** for **`odet preds` / `make eval-val`** (null → **0.05**), iou_threshold, compute_map_*; **`final_nms_iou_threshold`** for eval-val NMS only (DOTA+HRSC: **0.1**, MMRotate test parity) |
106-
| `production` | Optional overrides: **train val / deploy score** — `score_threshold` overrides `evaluation.score_threshold` when set (`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 **0.45**, FCOS **0.2**); 3× inherits those floors except Oriented R-CNN 3×, which pins **0.7**. 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` (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**). |
112+
| `evaluation` | **`train_val_score_threshold`** (in-train val / mAP / `best_mAP`; legacy alias `score_threshold`), **`preds_score_threshold`** for **`odet preds` / `make eval-val`** (null → **0.05**), iou_threshold, compute_map_*; **`final_nms_iou_threshold`** for eval-val NMS only (DOTA+HRSC: **0.1**, MMRotate test parity) |
113+
| `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 **0.35**, FCOS **0.2**); 3× inherits those floors except Oriented R-CNN 3×, which pins **0.7**. 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**). |
107114
| `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 |
108115
| `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) |
109116
| `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 |

‎configs/_base_/datasets/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
JSON fragments included via `"_base_"` in training recipes under the framework repo root.
44

5-
- **`dota_le90.json`** — Tiled DOTA v1.0 train/val folders and dataset-specific normalization (from `odet stats`). All DOTA 1× recipes inherit this (Oriented R-CNN, Faster R-CNN, FCOS, RetinaNet) so satellite tiles are centered with DOTA mean/std rather than ImageNet defaults.
6-
- **`hrsc2016.json`** — Official HRSC2016 layout (`dataset.format: hrsc2016`), ImageSets trainval/test, square pad-800 default. Oriented R-CNN, Faster R-CNN, and FCOS 1×/3× override to `keep_ratio` + pad-32. Eval uses the same whole-image path as training; DOTA recipes stay on `fixed` sliding windows.
7-
- **`fair1m.json`** — Tiled FAIR1M after `odet fair1m-to-dota` + `odet tile-dota` (1024 / overlap 200). Raw dump is `/path/to/data/FAIR1M` (official train 16,488 + val 8,287). Convert with `--splits train,val` (no `--val-fraction` unless the dump has no val; default `--image-format original` copies JPEG/PNG). Point `train_tiles_dir` / `val_tiles_dir` at `FAIR1M-dota/{train,val}/tiles_1024` — not the parent split folder (that still holds full images). Recipes use `dataset.format: dota` and finetune the matching DOTA 1× Hub checkpoint (no FAIR1M zoo).
5+
- **`dota_le90.json`** — Tiled DOTA v1.0 train/val folders and dataset-specific normalization (from `odet stats`). All DOTA 1× recipes inherit this (Oriented R-CNN, Faster R-CNN, FCOS, RetinaNet) so satellite tiles are centered with DOTA mean/std rather than ImageNet defaults. Zoo recipes then union **train+val** via `train_tiles_dirs`; `make eval-val` on val tiles is **leaky**. The real DOTA test is official Task 1.
6+
- **`hrsc2016.json`** — Official HRSC2016 layout (`dataset.format: hrsc2016`), ImageSets **trainval / test**, square pad-800 default. Oriented R-CNN, Faster R-CNN, and FCOS 1×/3× override to `keep_ratio` + pad-32. Eval uses the same whole-image path as training; DOTA recipes stay on `fixed` sliding windows. Test images are **not** in training.
7+
- **`fair1m.json`** — Tiled FAIR1M after `odet fair1m-to-dota` + `odet tile-dota` (1024 / overlap 200). Raw dump is `/path/to/data/FAIR1M` (official train 16,488 + val 8,287). Convert with `--splits train,val` (no `--val-fraction` unless the dump has no val; default `--image-format original` copies JPEG/PNG). Point `train_tiles_dir` / `val_tiles_dir` at `FAIR1M-dota/{train,val}/tiles_1024` — not the parent split folder (that still holds full images). Recipes use `dataset.format: dota` and finetune the matching DOTA 1× Hub checkpoint (no FAIR1M zoo). Train is official **train** tiles only; val is **not** in training. Faster R-CNN 1× local tiled-val mAP50 **36.70%** (mid-30s is expected; see [Data guide — FAIR1M](../../../docs/user-guide/data.md#local-1x-faster-rcnn)).
88

99
Default Oriented R-CNN DOTA recipes: [`dota_le90_1x.json`](../../oriented_rcnn/dota_le90_1x.json) (full 1× baseline and default `make train`), [`dota_le90_3x.json`](../../oriented_rcnn/dota_le90_3x.json) (inherits 1×). HRSC2016: [`hrsc2016_le90_1x.json`](../../oriented_rcnn/hrsc2016_le90_1x.json), [`hrsc2016_le90_3x.json`](../../oriented_rcnn/hrsc2016_le90_3x.json). FAIR1M: [`fair1m_le90_1x.json`](../../oriented_rcnn/fair1m_le90_1x.json).
1010

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@
88
"gradient_accumulation_steps": 1,
99
"max_grad_norm": 5.0,
1010
"lr_scheduler_step_epochs": 8,
11-
"lr_scheduler_milestones": [8, 11],
11+
"lr_scheduler_milestones": [
12+
8,
13+
11
14+
],
1215
"lr_scheduler_gamma": 0.1,
1316
"lr_warmup_steps": 500,
1417
"lr_scaling_with_accumulation": "linear",
1518
"use_lr_param_groups": false
16-
},
19+
},
1720
"evaluation": {
18-
"score_threshold": 0.3,
1921
"iou_threshold": 0.5,
20-
"compute_map_final": true
22+
"compute_map_final": true,
23+
"train_val_score_threshold": 0.3
2124
},
2225
"data_loader": {
2326
"batch_size": 50,

0 commit comments

Comments
 (0)