oriented-det 0.3.1__tar.gz → 0.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oriented_det-0.3.1 → oriented_det-0.4.1}/PKG-INFO +17 -9
- {oriented_det-0.3.1 → oriented_det-0.4.1}/README.md +14 -6
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/postprocess.py +2 -1
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/scripts/export_onnx.py +20 -2
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/scripts/save_predictions_onnx.py +8 -2
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/wrappers.py +35 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/datasets/dota_le90.json +1 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/datasets/fair1m.json +1 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/datasets/hrsc2016.json +1 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/datasets/hrsid.json +1 -0
- oriented_det-0.4.1/oriented_det/configs/_base_/datasets/ossdd.json +25 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/datasets/ssdd.json +1 -0
- oriented_det-0.4.1/oriented_det/configs/_base_/models/rotated_rtmdet_cspnext_s.json +32 -0
- oriented_det-0.4.1/oriented_det/configs/_base_/models/rotated_rtmdet_cspnext_tiny.json +32 -0
- oriented_det-0.4.1/oriented_det/configs/_base_/models/yolo_obb_n.json +22 -0
- oriented_det-0.4.1/oriented_det/configs/_base_/models/yolo_obb_s.json +22 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/schedules/1x.json +3 -2
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/config.schema.json +67 -19
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/oriented_rcnn/dota_le90_1x.json +4 -4
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/oriented_rcnn/fair1m_le90_1x.json +4 -4
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/oriented_rcnn/hrsc2016_le90_1x.json +4 -4
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/oriented_rcnn/hrsid_le90_1x.json +4 -4
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_faster_rcnn/dota_le90_1x.json +4 -4
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_faster_rcnn/fair1m_le90_1x.json +4 -4
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_faster_rcnn/hrsc2016_le90_1x.json +4 -4
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_faster_rcnn/hrsid_le90_1x.json +4 -4
- oriented_det-0.4.1/oriented_det/configs/rotated_faster_rcnn/ossdd_le90_vh_1x.json +130 -0
- oriented_det-0.4.1/oriented_det/configs/rotated_faster_rcnn/ossdd_le90_vh_3x.json +12 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_faster_rcnn/ssdd_le90_1x.json +4 -4
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_fcos/dota_le90_1x.json +5 -5
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_fcos/fair1m_le90_1x.json +5 -5
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_fcos/hrsc2016_le90_1x.json +5 -5
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_fcos/hrsid_le90_1x.json +5 -5
- oriented_det-0.4.1/oriented_det/configs/rotated_fcos/ossdd_le90_vh_1x.json +117 -0
- oriented_det-0.4.1/oriented_det/configs/rotated_fcos/ossdd_le90_vh_3x.json +12 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_retinanet/dota_le90_1x.json +6 -6
- oriented_det-0.4.1/oriented_det/configs/rotated_rtmdet/dota_le90_3x_s.json +103 -0
- oriented_det-0.4.1/oriented_det/configs/rotated_rtmdet/ossdd_le90_vh_1x_s.json +107 -0
- oriented_det-0.4.1/oriented_det/configs/yolo_obb/coco_300e_s.json +75 -0
- oriented_det-0.4.1/oriented_det/configs/yolo_obb/dota_le90_1x_s.json +86 -0
- oriented_det-0.4.1/oriented_det/configs/yolo_obb/dota_le90_6x_s.json +23 -0
- oriented_det-0.4.1/oriented_det/configs/yolo_obb/dota_le90_6x_s_coco.json +18 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/__init__.py +12 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/airbus_playground.py +9 -1
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/build.py +101 -15
- oriented_det-0.4.1/oriented_det/data/coco.py +325 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/coco_obb.py +12 -2
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/evaluation.py +284 -19
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/fair1m.py +9 -1
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/hrsc2016.py +9 -1
- oriented_det-0.4.1/oriented_det/data/mosaic.py +386 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/rotates.py +45 -13
- oriented_det-0.4.1/oriented_det/data/yolo_obb.py +241 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/__init__.py +6 -0
- oriented_det-0.4.1/oriented_det/models/backbones/cspnext.py +521 -0
- oriented_det-0.4.1/oriented_det/models/backbones/yolo_obb.py +306 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/rotated_retinanet.py +1 -1
- oriented_det-0.4.1/oriented_det/models/rotated_rtmdet.py +902 -0
- oriented_det-0.4.1/oriented_det/models/yolo_obb.py +757 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/pretrained/manifest.json +9 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/runtime/checkpoint.py +8 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/runtime/collate.py +135 -2
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/train/__init__.py +4 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/train/config.py +280 -110
- oriented_det-0.4.1/oriented_det/train/ema.py +128 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/train/engine.py +200 -72
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/train/utils.py +220 -9
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det.egg-info/PKG-INFO +17 -9
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det.egg-info/SOURCES.txt +33 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/pyproject.toml +4 -2
- oriented_det-0.4.1/tests/test_coco_yolo_pretrain.py +222 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_config_behavior.py +38 -1
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_config_model_wiring.py +8 -5
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_dota_task1.py +39 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_evaluation.py +71 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_hrsid.py +2 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_metrics_margin_filter.py +11 -1
- oriented_det-0.4.1/tests/test_mosaic.py +453 -0
- oriented_det-0.4.1/tests/test_ossdd_to_dota.py +167 -0
- oriented_det-0.4.1/tests/test_rotated_rtmdet.py +193 -0
- oriented_det-0.4.1/tests/test_rtmdet_rr_recipe.py +160 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_score_thresholds.py +63 -2
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_ssdd.py +3 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_training_config_strict.py +13 -10
- oriented_det-0.4.1/tests/test_yolo_obb.py +140 -0
- oriented_det-0.4.1/tests/test_yolo_obb_dataset.py +74 -0
- oriented_det-0.4.1/tools/bench_latency.py +248 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/dataset_stats.py +5 -3
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/dota_labels_to_comma.py +5 -2
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/dota_task1_submit.py +19 -6
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/hbb_to_obb.py +15 -3
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/image_demo.py +13 -11
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/lr_finder.py +3 -1
- oriented_det-0.4.1/tools/ossdd_fix_tiff.py +133 -0
- oriented_det-0.4.1/tools/ossdd_to_dota.py +285 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/playground_to_dota.py +8 -1
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/save_predictions.py +144 -60
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/train.py +248 -21
- {oriented_det-0.3.1 → oriented_det-0.4.1}/LICENSE +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/__main__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/cli.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/nms.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/ort_runtime.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/preprocess.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/runtime.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/scripts/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/scripts/demo.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/scripts/infer_onnx.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/scripts/zip_bundle.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/export/val_dataset.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/cli/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/cli/__main__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/cli/train.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/augmentation.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/fp16.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/models/oriented_rcnn_r50.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/models/rotated_faster_rcnn_r50.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/models/rotated_fcos_r50.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/models/rotated_retinanet_r50.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/preprocessing.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/oriented_rcnn/dota_le90_3x.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/oriented_rcnn/hrsc2016_le90_3x.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_faster_rcnn/dota_le90_3x.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_faster_rcnn/hrsc2016_le90_3x.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_fcos/dota_le90_1x_l1_kfiou_aux.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_fcos/dota_le90_3x.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_fcos/hrsc2016_le90_3x.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_retinanet/dota_le90_1x_hbb.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_retinanet/dota_le90_3x.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/rotated_retinanet/dota_le90_3x_hbb.json +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/dota.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/dota_classes.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/dota_task1.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/fair1m_classes.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/flips.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/hrsid.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/lookalike.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/preprocessing.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/ssdd.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/tiling.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/data/transforms.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/geometry/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/geometry/poly.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/geometry/qbox.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/geometry/rbox.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/geometry/transforms.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/backbones/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/backbones/resnet_fpn.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/backbones/utils.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/bbox_coder.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/faster_rcnn_inference.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/horizontal_roi_coder.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/oriented_rcnn.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/oriented_rcnn_inference.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/oriented_roi.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/oriented_rpn.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/retinanet_assign.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/rotated_fcos.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/models/utils.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/diff_iou_rotated.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/gaussian_angle.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/gpu_ops.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/iou.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/kfiou.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/nms.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/probiou.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/rotated_ops.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/ops/utils.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/pretrained/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/pretrained/hub.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/runtime/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/runtime/inference.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/train/grouped_ce.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/train/piecewise_schedule.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/train/profiler.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/utils/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/utils/config.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/utils/device.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/utils/logging.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/utils/progress.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/utils/viz.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det.egg-info/dependency_links.txt +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det.egg-info/entry_points.txt +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det.egg-info/requires.txt +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det.egg-info/top_level.txt +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/setup.cfg +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_airbus_playground.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_annotation_csv.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_bbox_coder.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_class_tile_oversampling.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_coco_obb.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_cosine_tail_scheduler.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_deploy_generate_description.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_diff_iou_rotated.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_dota.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_dota_tile_roots.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_exact_rotated_iou.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_fair1m.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_gaussian_angle.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_geometry.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_geometry_transforms.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_gpu_ops.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_grouped_ce.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_hard_tile_oversampling.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_hrsc2016.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_iou.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_kfiou.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_lookalike.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_models.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_nms.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_ops_utils.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_optimizer_param_groups.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_piecewise_schedule.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_preprocessing.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_pretrained_hub.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_probiou.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_retinanet_assign.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_roi.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_rpn.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_sigmoid_focal_class_weights.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_sliding_window_margin.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_source_provenance.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_tile_dota.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_tiling.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_train.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_train_flips.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_train_rotates.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_utils_config.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_utils_viz.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_vendored_configs_sync.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_viewer_gradio_compat.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tests/test_wizard.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/__init__.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/annotation_csv.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/app.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/coco_to_dota.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/compare_hbb_obb_counts.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/fair1m_to_dota.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/filter_predictions_by_gt.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/free_gpu.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/generate_airbus_playground_csv.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/generate_oriented_annotations.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/hrsc_to_dota.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/measure_sampled_riou_error.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/pretrained_download.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/preview_augmentation.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/publish_checkpoint.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/ssdd_to_dota.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/sync_vendored_configs.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/tile_dota.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/train_example.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/train_multi_gpu.py +0 -0
- {oriented_det-0.3.1 → oriented_det-0.4.1}/tools/viewer_annotations.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oriented-det
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.4.1
|
|
4
|
+
Summary: Open-source PyTorch framework for oriented and rotated object detection in aerial and satellite images
|
|
5
5
|
Author: Jeff Faudi, DL4EO
|
|
6
6
|
Maintainer: Jeff Faudi, DL4EO
|
|
7
7
|
License-Expression: Apache-2.0
|
|
@@ -12,7 +12,7 @@ Project-URL: Issues, https://github.com/DL4EO/oriented-det/issues
|
|
|
12
12
|
Project-URL: Bug Tracker, https://github.com/DL4EO/oriented-det/issues
|
|
13
13
|
Project-URL: DL4EO, https://dl4eo.com
|
|
14
14
|
Project-URL: Blog, https://deeplearning.earth
|
|
15
|
-
Keywords: computer-vision,object-detection,rotated-detection,oriented-detection,pytorch,aerial-imagery,satellite-imagery,remote-sensing,dota,geospatial
|
|
15
|
+
Keywords: computer-vision,object-detection,rotated-detection,oriented-detection,pytorch,aerial-imagery,aerial-images,satellite-imagery,satellite-images,remote-sensing,dota,geospatial
|
|
16
16
|
Classifier: Development Status :: 3 - Alpha
|
|
17
17
|
Classifier: Intended Audience :: Developers
|
|
18
18
|
Classifier: Intended Audience :: Science/Research
|
|
@@ -60,7 +60,7 @@ Dynamic: license-file
|
|
|
60
60
|
|
|
61
61
|
# OrientedDet
|
|
62
62
|
|
|
63
|
-
**OrientedDet** is
|
|
63
|
+
**OrientedDet** (**oriented-det**) is an open-source PyTorch framework for **oriented and rotated object detection** in aerial and satellite images. It focuses on clean geometry, reliable operators, simple datasets, and practical baseline models—without the complexity of large detection frameworks. OrientedDet is designed for researchers, practitioners, and geospatial developers who need accurate rotation-aware detectors with a minimal API.
|
|
64
64
|
|
|
65
65
|
<p align="center">
|
|
66
66
|
<img src="demo/out/demo_detections.png" alt="Oriented R-CNN detections on diagonally parked buses in an aerial parking lot" width="720">
|
|
@@ -75,7 +75,7 @@ Dynamic: license-file
|
|
|
75
75
|
- **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
|
|
76
76
|
- **IoU & NMS**: Rotated IoU and oriented NMS (CPU with optional GPU kernels when available); AABB pre-filtering; `obb_to_xyxy` / HBB conversion
|
|
77
77
|
- **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
|
|
78
|
-
- **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); ResNet + FPN backbones; selective loading of external checkpoints where configs wire `checkpoint.load_from_checkpoint`
|
|
78
|
+
- **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`
|
|
79
79
|
- **Training**: JSON configs + **`odet train`**, mixed precision (AMP), gradient accumulation, checkpointing, best-metric tracking, TensorBoard, optional curriculum learning and profiling
|
|
80
80
|
- **ONNX export**: pre-NMS ONNX + Python NMS (`odet export` / `make export-onnx`); consumers run ONNX Runtime only
|
|
81
81
|
|
|
@@ -170,6 +170,7 @@ Full documentation is in the **docs/** folder and can be built and served with M
|
|
|
170
170
|
|
|
171
171
|
| Topic | Post |
|
|
172
172
|
|-------|------|
|
|
173
|
+
| Oriented detection in aerial and satellite images | [https://deeplearning.earth/oriented-detection-in-satellite-images/](https://deeplearning.earth/oriented-detection-in-satellite-images/) |
|
|
173
174
|
| Why OrientedDet / Apache 2.0 stack | [https://deeplearning.earth/posts/2026-06-22_oriented-det_v0_1_0_sovereign_oriented_object_detection_for_eo/](https://deeplearning.earth/posts/2026-06-22_oriented-det_v0_1_0_sovereign_oriented_object_detection_for_eo/) |
|
|
174
175
|
| Visual detections (15 DOTA classes) | [https://deeplearning.earth/posts/2026-06-23_oriented_rcnn_detections_for_the_15_dota_classes/](https://deeplearning.earth/posts/2026-06-23_oriented_rcnn_detections_for_the_15_dota_classes/) |
|
|
175
176
|
| `odet image-demo` on Apple Silicon | [https://deeplearning.earth/posts/2026-06-25_oriented_object_detection_on_macos_in_pure_python/](https://deeplearning.earth/posts/2026-06-25_oriented_object_detection_on_macos_in_pure_python/) |
|
|
@@ -217,7 +218,7 @@ DOTA configs: per-model `dota_le90_1x.json` under [configs/](configs/) (3× wher
|
|
|
217
218
|
|
|
218
219
|
## Pretrained weights and evaluation
|
|
219
220
|
|
|
220
|
-
- 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). 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/).
|
|
221
|
+
- 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/).
|
|
221
222
|
- **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/).
|
|
222
223
|
|
|
223
224
|
## Important notes
|
|
@@ -234,7 +235,10 @@ See **[docs/roadmap.md](docs/roadmap.md)** for the full public plan. Summary:
|
|
|
234
235
|
- **v0.1.1** (shipped): ProbIoU Faster R-CNN 1×/3× on Hub
|
|
235
236
|
- **v0.2** (shipped): Rotated FCOS (anchor-free single-stage); Hub `rotated_fcos_dota_le90_1x` (73.07% official Task 1)
|
|
236
237
|
- **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)
|
|
237
|
-
- **v0.4
|
|
238
|
+
- **v0.4.0** (shipped): Rotated RTMDet; Hub `rotated_rtmdet_dota_le90_3x` (**77.60%** official Task 1)
|
|
239
|
+
- **v0.4.1** (shipped): Citation and discoverability (`CITATION.cff`, oriented/rotated + aerial/satellite copy)
|
|
240
|
+
- **v0.4.2**: native YOLO-OBB (already in the tree; COCO pretrain and DOTA training next)
|
|
241
|
+
- **v0.4.3**: Rotated RTMDet-S multi-scale DOTA
|
|
238
242
|
- **v0.5+**: Swin-FPN backbone; optional fused CUDA kernels; hosted docs
|
|
239
243
|
|
|
240
244
|
## Contributing
|
|
@@ -247,7 +251,7 @@ OrientedDet is Apache-2.0 open source. For **consulting, training workshops, or
|
|
|
247
251
|
|
|
248
252
|
## Publishing to PyPI
|
|
249
253
|
|
|
250
|
-
Version **0.
|
|
254
|
+
Version **0.4.0** — tag releases as **`v0.4.0`** (git) matching `version` in `pyproject.toml`.
|
|
251
255
|
|
|
252
256
|
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`**.
|
|
253
257
|
|
|
@@ -278,7 +282,7 @@ make check-configs
|
|
|
278
282
|
pytest tests/ -q
|
|
279
283
|
```
|
|
280
284
|
|
|
281
|
-
Bump version in `pyproject.toml` and `docs/changelog.md` if needed (currently **0.
|
|
285
|
+
Bump version in `pyproject.toml` and `docs/changelog.md` if needed (currently **0.4.0**).
|
|
282
286
|
|
|
283
287
|
#### 3. Build locally
|
|
284
288
|
|
|
@@ -349,6 +353,10 @@ Notes:
|
|
|
349
353
|
|
|
350
354
|
- **Trusted Publishing** avoids long-lived tokens; keep `make publish-*` for manual releases. Details: [.github/workflows/README.md](.github/workflows/README.md).
|
|
351
355
|
|
|
356
|
+
## Citation
|
|
357
|
+
|
|
358
|
+
If you use OrientedDet in research or production, cite this repository via [CITATION.cff](CITATION.cff). Overview: [oriented detection in aerial and satellite images](https://deeplearning.earth/oriented-detection-in-satellite-images/).
|
|
359
|
+
|
|
352
360
|
## License
|
|
353
361
|
|
|
354
362
|
**Apache-2.0** — Copyright © Jeff Faudi and [DL4EO](https://dl4eo.com). See [LICENSE](LICENSE) for details.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OrientedDet
|
|
2
2
|
|
|
3
|
-
**OrientedDet** is
|
|
3
|
+
**OrientedDet** (**oriented-det**) is an open-source PyTorch framework for **oriented and rotated object detection** in aerial and satellite images. It focuses on clean geometry, reliable operators, simple datasets, and practical baseline models—without the complexity of large detection frameworks. OrientedDet is designed for researchers, practitioners, and geospatial developers who need accurate rotation-aware detectors with a minimal API.
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
6
|
<img src="demo/out/demo_detections.png" alt="Oriented R-CNN detections on diagonally parked buses in an aerial parking lot" width="720">
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
- **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
|
|
16
16
|
- **IoU & NMS**: Rotated IoU and oriented NMS (CPU with optional GPU kernels when available); AABB pre-filtering; `obb_to_xyxy` / HBB conversion
|
|
17
17
|
- **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); ResNet + FPN 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); ResNet + FPN and CSPNeXt backbones; selective loading of external checkpoints where configs wire `checkpoint.load_from_checkpoint`
|
|
19
19
|
- **Training**: JSON configs + **`odet train`**, mixed precision (AMP), gradient accumulation, checkpointing, best-metric tracking, TensorBoard, optional curriculum learning and profiling
|
|
20
20
|
- **ONNX export**: pre-NMS ONNX + Python NMS (`odet export` / `make export-onnx`); consumers run ONNX Runtime only
|
|
21
21
|
|
|
@@ -110,6 +110,7 @@ Full documentation is in the **docs/** folder and can be built and served with M
|
|
|
110
110
|
|
|
111
111
|
| Topic | Post |
|
|
112
112
|
|-------|------|
|
|
113
|
+
| Oriented detection in aerial and satellite images | [https://deeplearning.earth/oriented-detection-in-satellite-images/](https://deeplearning.earth/oriented-detection-in-satellite-images/) |
|
|
113
114
|
| Why OrientedDet / Apache 2.0 stack | [https://deeplearning.earth/posts/2026-06-22_oriented-det_v0_1_0_sovereign_oriented_object_detection_for_eo/](https://deeplearning.earth/posts/2026-06-22_oriented-det_v0_1_0_sovereign_oriented_object_detection_for_eo/) |
|
|
114
115
|
| Visual detections (15 DOTA classes) | [https://deeplearning.earth/posts/2026-06-23_oriented_rcnn_detections_for_the_15_dota_classes/](https://deeplearning.earth/posts/2026-06-23_oriented_rcnn_detections_for_the_15_dota_classes/) |
|
|
115
116
|
| `odet image-demo` on Apple Silicon | [https://deeplearning.earth/posts/2026-06-25_oriented_object_detection_on_macos_in_pure_python/](https://deeplearning.earth/posts/2026-06-25_oriented_object_detection_on_macos_in_pure_python/) |
|
|
@@ -157,7 +158,7 @@ DOTA configs: per-model `dota_le90_1x.json` under [configs/](configs/) (3× wher
|
|
|
157
158
|
|
|
158
159
|
## Pretrained weights and evaluation
|
|
159
160
|
|
|
160
|
-
- 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). 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/).
|
|
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/).
|
|
161
162
|
- **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/).
|
|
162
163
|
|
|
163
164
|
## Important notes
|
|
@@ -174,7 +175,10 @@ See **[docs/roadmap.md](docs/roadmap.md)** for the full public plan. Summary:
|
|
|
174
175
|
- **v0.1.1** (shipped): ProbIoU Faster R-CNN 1×/3× on Hub
|
|
175
176
|
- **v0.2** (shipped): Rotated FCOS (anchor-free single-stage); Hub `rotated_fcos_dota_le90_1x` (73.07% official Task 1)
|
|
176
177
|
- **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)
|
|
177
|
-
- **v0.4
|
|
178
|
+
- **v0.4.0** (shipped): Rotated RTMDet; Hub `rotated_rtmdet_dota_le90_3x` (**77.60%** official Task 1)
|
|
179
|
+
- **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
|
|
178
182
|
- **v0.5+**: Swin-FPN backbone; optional fused CUDA kernels; hosted docs
|
|
179
183
|
|
|
180
184
|
## Contributing
|
|
@@ -187,7 +191,7 @@ OrientedDet is Apache-2.0 open source. For **consulting, training workshops, or
|
|
|
187
191
|
|
|
188
192
|
## Publishing to PyPI
|
|
189
193
|
|
|
190
|
-
Version **0.
|
|
194
|
+
Version **0.4.0** — tag releases as **`v0.4.0`** (git) matching `version` in `pyproject.toml`.
|
|
191
195
|
|
|
192
196
|
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`**.
|
|
193
197
|
|
|
@@ -218,7 +222,7 @@ make check-configs
|
|
|
218
222
|
pytest tests/ -q
|
|
219
223
|
```
|
|
220
224
|
|
|
221
|
-
Bump version in `pyproject.toml` and `docs/changelog.md` if needed (currently **0.
|
|
225
|
+
Bump version in `pyproject.toml` and `docs/changelog.md` if needed (currently **0.4.0**).
|
|
222
226
|
|
|
223
227
|
#### 3. Build locally
|
|
224
228
|
|
|
@@ -289,6 +293,10 @@ Notes:
|
|
|
289
293
|
|
|
290
294
|
- **Trusted Publishing** avoids long-lived tokens; keep `make publish-*` for manual releases. Details: [.github/workflows/README.md](.github/workflows/README.md).
|
|
291
295
|
|
|
296
|
+
## Citation
|
|
297
|
+
|
|
298
|
+
If you use OrientedDet in research or production, cite this repository via [CITATION.cff](CITATION.cff). Overview: [oriented detection in aerial and satellite images](https://deeplearning.earth/oriented-detection-in-satellite-images/).
|
|
299
|
+
|
|
292
300
|
## License
|
|
293
301
|
|
|
294
302
|
**Apache-2.0** — Copyright © Jeff Faudi and [DL4EO](https://dl4eo.com). See [LICENSE](LICENSE) for details.
|
|
@@ -230,7 +230,8 @@ def ort_run_pre_nms(
|
|
|
230
230
|
if required not in name_to_val:
|
|
231
231
|
raise KeyError(
|
|
232
232
|
f"Missing ONNX output {required!r}; got {sorted(name_to_val)}. "
|
|
233
|
-
"Re-export with faster_rcnn_pre_nms, oriented_rcnn_pre_nms,
|
|
233
|
+
"Re-export with faster_rcnn_pre_nms, oriented_rcnn_pre_nms, "
|
|
234
|
+
"rotated_fcos_pre_nms, or rotated_rtmdet_pre_nms."
|
|
234
235
|
)
|
|
235
236
|
count = int(np.asarray(name_to_val["pre_nms_count"]).reshape(-1)[0])
|
|
236
237
|
return (
|
|
@@ -24,6 +24,7 @@ from export.runtime import copy_runtime_sidecars # noqa: E402
|
|
|
24
24
|
from oriented_det.models.oriented_rcnn import OrientedRCNN, RotatedFasterRCNN # noqa: E402
|
|
25
25
|
from oriented_det.models.rotated_fcos import RotatedFCOS # noqa: E402
|
|
26
26
|
from oriented_det.models.rotated_retinanet import RotatedRetinaNet # noqa: E402
|
|
27
|
+
from oriented_det.models.rotated_rtmdet import RotatedRTMDet # noqa: E402
|
|
27
28
|
from oriented_det.runtime.checkpoint import load_model_from_checkpoint # noqa: E402
|
|
28
29
|
|
|
29
30
|
BackboneExportWrapper = _wrappers.BackboneExportWrapper
|
|
@@ -32,6 +33,7 @@ RotatedFasterRCNNPreNmsExportWrapper = _wrappers.RotatedFasterRCNNPreNmsExportWr
|
|
|
32
33
|
OrientedRCNNPreNmsExportWrapper = _wrappers.OrientedRCNNPreNmsExportWrapper
|
|
33
34
|
RotatedFCOSHeadsExportWrapper = _wrappers.RotatedFCOSHeadsExportWrapper
|
|
34
35
|
RotatedFCOSPreNmsExportWrapper = _wrappers.RotatedFCOSPreNmsExportWrapper
|
|
36
|
+
RotatedRTMDetPreNmsExportWrapper = _wrappers.RotatedRTMDetPreNmsExportWrapper
|
|
35
37
|
|
|
36
38
|
PRE_NMS_OUTPUTS = (
|
|
37
39
|
"pre_nms_boxes",
|
|
@@ -41,7 +43,12 @@ PRE_NMS_OUTPUTS = (
|
|
|
41
43
|
)
|
|
42
44
|
FASTER_RCNN_PRE_NMS_OUTPUTS = PRE_NMS_OUTPUTS # backwards-compatible alias
|
|
43
45
|
_PRE_NMS_MODES = frozenset(
|
|
44
|
-
{
|
|
46
|
+
{
|
|
47
|
+
"faster_rcnn_pre_nms",
|
|
48
|
+
"oriented_rcnn_pre_nms",
|
|
49
|
+
"rotated_fcos_pre_nms",
|
|
50
|
+
"rotated_rtmdet_pre_nms",
|
|
51
|
+
}
|
|
45
52
|
)
|
|
46
53
|
|
|
47
54
|
|
|
@@ -87,6 +94,12 @@ def _build_wrapper(
|
|
|
87
94
|
f"rotated_fcos_pre_nms requires RotatedFCOS, got {mt}."
|
|
88
95
|
)
|
|
89
96
|
return RotatedFCOSPreNmsExportWrapper(model, height=height, width=width)
|
|
97
|
+
if mode == "rotated_rtmdet_pre_nms":
|
|
98
|
+
if not isinstance(model, RotatedRTMDet):
|
|
99
|
+
raise ValueError(
|
|
100
|
+
f"rotated_rtmdet_pre_nms requires RotatedRTMDet, got {mt}."
|
|
101
|
+
)
|
|
102
|
+
return RotatedRTMDetPreNmsExportWrapper(model, height=height, width=width)
|
|
90
103
|
raise ValueError(f"Unknown mode: {mode}")
|
|
91
104
|
|
|
92
105
|
|
|
@@ -235,6 +248,10 @@ def build_export_meta(
|
|
|
235
248
|
meta["fpn_strides"] = [int(s) for s in model.fpn_strides]
|
|
236
249
|
meta["nms_pre"] = int(model.nms_pre)
|
|
237
250
|
meta["min_bbox_size"] = float(model.min_bbox_size)
|
|
251
|
+
if mode == "rotated_rtmdet_pre_nms" and isinstance(model, RotatedRTMDet):
|
|
252
|
+
meta["fpn_strides"] = [int(s) for s in model.fpn_strides]
|
|
253
|
+
meta["nms_pre"] = int(model.nms_pre)
|
|
254
|
+
meta["min_bbox_size"] = float(model.min_bbox_size)
|
|
238
255
|
return meta
|
|
239
256
|
|
|
240
257
|
|
|
@@ -271,12 +288,13 @@ def main() -> None:
|
|
|
271
288
|
"oriented_rcnn_pre_nms",
|
|
272
289
|
"rotated_fcos_heads",
|
|
273
290
|
"rotated_fcos_pre_nms",
|
|
291
|
+
"rotated_rtmdet_pre_nms",
|
|
274
292
|
),
|
|
275
293
|
default="rotated_fcos_pre_nms",
|
|
276
294
|
help=(
|
|
277
295
|
"Default rotated_fcos_pre_nms (decode in ONNX, NMS in Python). "
|
|
278
296
|
"Also: backbone | retinanet_heads | faster_rcnn_pre_nms | "
|
|
279
|
-
"oriented_rcnn_pre_nms | rotated_fcos_heads."
|
|
297
|
+
"oriented_rcnn_pre_nms | rotated_fcos_heads | rotated_rtmdet_pre_nms."
|
|
280
298
|
),
|
|
281
299
|
)
|
|
282
300
|
p.add_argument("--opset", type=int, default=17)
|
|
@@ -131,7 +131,9 @@ def run_onnx_inference_and_save(
|
|
|
131
131
|
output_dir = Path(output_dir)
|
|
132
132
|
output_dir.mkdir(parents=True, exist_ok=True)
|
|
133
133
|
|
|
134
|
-
score_thr, score_src = resolve_preds_score_threshold(
|
|
134
|
+
score_thr, score_src = resolve_preds_score_threshold(
|
|
135
|
+
config, data_split=data_split, cli_score_threshold=score_threshold
|
|
136
|
+
)
|
|
135
137
|
nms_backend = nms_backend or "shapely"
|
|
136
138
|
nms_class_agnostic = bool(
|
|
137
139
|
getattr(getattr(config, "production", None), "nms_class_agnostic", False)
|
|
@@ -170,7 +172,11 @@ def run_onnx_inference_and_save(
|
|
|
170
172
|
ds_cfg = replace(config.dataset, data_root=data_root)
|
|
171
173
|
native_dataset = build_split_dataset(ds_cfg, data_split, filter_empty_gt=False)
|
|
172
174
|
gt_by_image_path = {}
|
|
173
|
-
for idx in
|
|
175
|
+
for idx in tqdm(
|
|
176
|
+
range(len(native_dataset)),
|
|
177
|
+
desc="Loading annotations",
|
|
178
|
+
file=tqdm_progress_stream(),
|
|
179
|
+
):
|
|
174
180
|
sample = native_dataset[idx]
|
|
175
181
|
gt_by_image_path[Path(sample.image_path)] = _annotations_to_ground_truths(
|
|
176
182
|
list(sample.annotations), class_map
|
|
@@ -19,6 +19,10 @@ from oriented_det.models.oriented_rcnn_inference import oriented_rcnn_inference_
|
|
|
19
19
|
from oriented_det.models.oriented_rpn import generate_oriented_anchors
|
|
20
20
|
from oriented_det.models.rotated_fcos import RotatedFCOS, rotated_fcos_inference_pre_nms_padded
|
|
21
21
|
from oriented_det.models.rotated_retinanet import RotatedRetinaNet
|
|
22
|
+
from oriented_det.models.rotated_rtmdet import (
|
|
23
|
+
RotatedRTMDet,
|
|
24
|
+
rotated_rtmdet_inference_pre_nms_padded,
|
|
25
|
+
)
|
|
22
26
|
from oriented_det.models.utils import derive_fpn_strides_from_grid, extract_backbone_features
|
|
23
27
|
|
|
24
28
|
|
|
@@ -294,6 +298,36 @@ class RotatedFCOSPreNmsExportWrapper(nn.Module):
|
|
|
294
298
|
)
|
|
295
299
|
|
|
296
300
|
|
|
301
|
+
class RotatedRTMDetPreNmsExportWrapper(nn.Module):
|
|
302
|
+
"""Rotated RTMDet through decode; outputs padded pre-NMS tensors.
|
|
303
|
+
|
|
304
|
+
Input: ``images`` ``[1, 3, H, W]`` float32 RGB, mean/std-normalized.
|
|
305
|
+
Outputs: ``pre_nms_boxes``, ``pre_nms_scores``, ``pre_nms_labels``, ``pre_nms_count``.
|
|
306
|
+
Final rotated NMS and production score filters run in ``export.postprocess``.
|
|
307
|
+
"""
|
|
308
|
+
|
|
309
|
+
def __init__(
|
|
310
|
+
self,
|
|
311
|
+
model: RotatedRTMDet,
|
|
312
|
+
height: int,
|
|
313
|
+
width: int,
|
|
314
|
+
max_candidates: int | None = None,
|
|
315
|
+
) -> None:
|
|
316
|
+
super().__init__()
|
|
317
|
+
self.model = model
|
|
318
|
+
self.height = int(height)
|
|
319
|
+
self.width = int(width)
|
|
320
|
+
n_levels = max(1, len(model.fpn_strides))
|
|
321
|
+
self.max_candidates = int(max_candidates or (int(model.nms_pre) * n_levels))
|
|
322
|
+
|
|
323
|
+
def forward(
|
|
324
|
+
self, images: torch.Tensor
|
|
325
|
+
) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor]:
|
|
326
|
+
return rotated_rtmdet_inference_pre_nms_padded(
|
|
327
|
+
self.model, images, self.max_candidates
|
|
328
|
+
)
|
|
329
|
+
|
|
330
|
+
|
|
297
331
|
__all__ = [
|
|
298
332
|
"BackboneExportWrapper",
|
|
299
333
|
"RetinaNetBackboneHeadExportWrapper",
|
|
@@ -301,5 +335,6 @@ __all__ = [
|
|
|
301
335
|
"OrientedRCNNPreNmsExportWrapper",
|
|
302
336
|
"RotatedFCOSHeadsExportWrapper",
|
|
303
337
|
"RotatedFCOSPreNmsExportWrapper",
|
|
338
|
+
"RotatedRTMDetPreNmsExportWrapper",
|
|
304
339
|
"_ordered_fpn_values",
|
|
305
340
|
]
|
{oriented_det-0.3.1 → oriented_det-0.4.1}/oriented_det/configs/_base_/datasets/dota_le90.json
RENAMED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"data_root": "/path/to/data/DOTA-v1.0-tiled",
|
|
4
4
|
"train_tiles_dir": "/path/to/data/DOTA-v1.0-tiled/train",
|
|
5
5
|
"val_tiles_dir": "/path/to/data/DOTA-v1.0-tiled/val",
|
|
6
|
+
"test_tiles_dir": "/path/to/data/DOTA-v1.0-tiled/val",
|
|
6
7
|
"overlap": 200,
|
|
7
8
|
"difficult_strategy": "keep"
|
|
8
9
|
},
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"data_root": "/path/to/data/FAIR1M-dota",
|
|
5
5
|
"train_tiles_dir": "/path/to/data/FAIR1M-dota/train/tiles_1024",
|
|
6
6
|
"val_tiles_dir": "/path/to/data/FAIR1M-dota/val/tiles_1024",
|
|
7
|
+
"test_tiles_dir": "/path/to/data/FAIR1M-dota/val/tiles_1024",
|
|
7
8
|
"overlap": 200,
|
|
8
9
|
"difficult_strategy": "keep",
|
|
9
10
|
"filter_empty_gt": true
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dataset": {
|
|
3
|
+
"format": "dota",
|
|
4
|
+
"data_root": "/path/to/data/OSSDD-dota",
|
|
5
|
+
"train_tiles_dir": null,
|
|
6
|
+
"val_tiles_dir": null,
|
|
7
|
+
"test_tiles_dir": null,
|
|
8
|
+
"train_tiles_dirs": [
|
|
9
|
+
"/path/to/data/OSSDD-dota/train"
|
|
10
|
+
],
|
|
11
|
+
"val_tiles_dirs": [
|
|
12
|
+
"/path/to/data/OSSDD-dota/val"
|
|
13
|
+
],
|
|
14
|
+
"test_tiles_dirs": [
|
|
15
|
+
"/path/to/data/OSSDD-dota/test"
|
|
16
|
+
],
|
|
17
|
+
"filter_empty_gt": true,
|
|
18
|
+
"overlap": 0,
|
|
19
|
+
"difficult_strategy": "keep"
|
|
20
|
+
},
|
|
21
|
+
"preprocessing": {
|
|
22
|
+
"normalize_mean": [0.307941, 0.311986, 0.297761],
|
|
23
|
+
"normalize_std": [0.192315, 0.187769, 0.181551]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"model_type": "rotated_rtmdet",
|
|
3
|
+
"model": {
|
|
4
|
+
"backbone": "cspnext_s",
|
|
5
|
+
"pretrained_backbone": true,
|
|
6
|
+
"frozen_stages": -1,
|
|
7
|
+
"fpn_strides": [8, 16, 32],
|
|
8
|
+
"rtmdet_stacked_convs": 2,
|
|
9
|
+
"rtmdet_norm_on_bbox": true,
|
|
10
|
+
"rtmdet_scale_angle": true,
|
|
11
|
+
"rtmdet_exp_on_reg": true,
|
|
12
|
+
"rtmdet_qfl_beta": 2.0,
|
|
13
|
+
"rtmdet_angle_weight": 0.2,
|
|
14
|
+
"rtmdet_assign_topk": 13,
|
|
15
|
+
"rtmdet_soft_center_radius": 3.0,
|
|
16
|
+
"rtmdet_assign_iou_weight": 3.0,
|
|
17
|
+
"rtmdet_nms_pre": 2000,
|
|
18
|
+
"box_reg_weight": 2.0,
|
|
19
|
+
"box_reg_loss_type": "riou",
|
|
20
|
+
"roi_loss_type": "focal",
|
|
21
|
+
"max_detections_per_image": 2000,
|
|
22
|
+
"final_nms_iou_threshold": 0.1
|
|
23
|
+
},
|
|
24
|
+
"tensorboard": {
|
|
25
|
+
"log_debug_anchors_proposals": false
|
|
26
|
+
},
|
|
27
|
+
"loss": {
|
|
28
|
+
"loss_type": "focal",
|
|
29
|
+
"focal_alpha": 0.25,
|
|
30
|
+
"focal_gamma": 2.0
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"model_type": "rotated_rtmdet",
|
|
3
|
+
"model": {
|
|
4
|
+
"backbone": "cspnext_tiny",
|
|
5
|
+
"pretrained_backbone": true,
|
|
6
|
+
"frozen_stages": -1,
|
|
7
|
+
"fpn_strides": [8, 16, 32],
|
|
8
|
+
"rtmdet_stacked_convs": 2,
|
|
9
|
+
"rtmdet_norm_on_bbox": true,
|
|
10
|
+
"rtmdet_scale_angle": true,
|
|
11
|
+
"rtmdet_exp_on_reg": true,
|
|
12
|
+
"rtmdet_qfl_beta": 2.0,
|
|
13
|
+
"rtmdet_angle_weight": 0.2,
|
|
14
|
+
"rtmdet_assign_topk": 13,
|
|
15
|
+
"rtmdet_soft_center_radius": 3.0,
|
|
16
|
+
"rtmdet_assign_iou_weight": 3.0,
|
|
17
|
+
"rtmdet_nms_pre": 2000,
|
|
18
|
+
"box_reg_weight": 2.0,
|
|
19
|
+
"box_reg_loss_type": "riou",
|
|
20
|
+
"roi_loss_type": "focal",
|
|
21
|
+
"max_detections_per_image": 2000,
|
|
22
|
+
"final_nms_iou_threshold": 0.1
|
|
23
|
+
},
|
|
24
|
+
"tensorboard": {
|
|
25
|
+
"log_debug_anchors_proposals": false
|
|
26
|
+
},
|
|
27
|
+
"loss": {
|
|
28
|
+
"loss_type": "focal",
|
|
29
|
+
"focal_alpha": 0.25,
|
|
30
|
+
"focal_gamma": 2.0
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"model_type": "yolo_obb",
|
|
3
|
+
"model": {
|
|
4
|
+
"backbone": "yolo_obb_n",
|
|
5
|
+
"pretrained_backbone": false,
|
|
6
|
+
"frozen_stages": -1,
|
|
7
|
+
"fpn_strides": [8, 16, 32],
|
|
8
|
+
"yolo_obb_reg_max": 16,
|
|
9
|
+
"yolo_obb_tal_topk": 13,
|
|
10
|
+
"yolo_obb_tal_alpha": 0.5,
|
|
11
|
+
"yolo_obb_tal_beta": 6.0,
|
|
12
|
+
"yolo_obb_dfl_weight": 1.5,
|
|
13
|
+
"yolo_obb_angle_weight": 0.2,
|
|
14
|
+
"yolo_obb_nms_pre": 2000,
|
|
15
|
+
"box_reg_weight": 7.5,
|
|
16
|
+
"max_detections_per_image": 2000,
|
|
17
|
+
"final_nms_iou_threshold": 0.1
|
|
18
|
+
},
|
|
19
|
+
"tensorboard": {
|
|
20
|
+
"log_debug_anchors_proposals": false
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"model_type": "yolo_obb",
|
|
3
|
+
"model": {
|
|
4
|
+
"backbone": "yolo_obb_s",
|
|
5
|
+
"pretrained_backbone": false,
|
|
6
|
+
"frozen_stages": -1,
|
|
7
|
+
"fpn_strides": [8, 16, 32],
|
|
8
|
+
"yolo_obb_reg_max": 16,
|
|
9
|
+
"yolo_obb_tal_topk": 13,
|
|
10
|
+
"yolo_obb_tal_alpha": 0.5,
|
|
11
|
+
"yolo_obb_tal_beta": 6.0,
|
|
12
|
+
"yolo_obb_dfl_weight": 1.5,
|
|
13
|
+
"yolo_obb_angle_weight": 0.2,
|
|
14
|
+
"yolo_obb_nms_pre": 2000,
|
|
15
|
+
"box_reg_weight": 7.5,
|
|
16
|
+
"max_detections_per_image": 2000,
|
|
17
|
+
"final_nms_iou_threshold": 0.1
|
|
18
|
+
},
|
|
19
|
+
"tensorboard": {
|
|
20
|
+
"log_debug_anchors_proposals": false
|
|
21
|
+
}
|
|
22
|
+
}
|