oriented-det 0.1.0__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.1.0/LICENSE +202 -0
- oriented_det-0.1.0/PKG-INFO +313 -0
- oriented_det-0.1.0/README.md +255 -0
- oriented_det-0.1.0/export/__init__.py +9 -0
- oriented_det-0.1.0/export/ort_runtime.py +67 -0
- oriented_det-0.1.0/export/postprocess.py +151 -0
- oriented_det-0.1.0/export/scripts/__init__.py +6 -0
- oriented_det-0.1.0/export/scripts/build_faster_rcnn_savedmodel.py +104 -0
- oriented_det-0.1.0/export/scripts/export_onnx.py +210 -0
- oriented_det-0.1.0/export/scripts/onnx_to_savedmodel.py +35 -0
- oriented_det-0.1.0/export/scripts/predict_savedmodel.py +94 -0
- oriented_det-0.1.0/export/scripts/save_predictions_tf.py +447 -0
- oriented_det-0.1.0/export/scripts/to_tflite.py +32 -0
- oriented_det-0.1.0/export/tests/test_export_onnx_optional.py +82 -0
- oriented_det-0.1.0/export/tests/test_export_wrappers.py +105 -0
- oriented_det-0.1.0/export/tests/test_faster_rcnn_export_parity.py +201 -0
- oriented_det-0.1.0/export/tests/test_ort_runtime.py +41 -0
- oriented_det-0.1.0/export/tf_serving_model.py +96 -0
- oriented_det-0.1.0/export/val_dataset.py +116 -0
- oriented_det-0.1.0/export/wrappers.py +161 -0
- oriented_det-0.1.0/oriented_det/__init__.py +77 -0
- oriented_det-0.1.0/oriented_det/cli/__init__.py +92 -0
- oriented_det-0.1.0/oriented_det/cli/train.py +18 -0
- oriented_det-0.1.0/oriented_det/configs/_base_/augmentation.json +21 -0
- oriented_det-0.1.0/oriented_det/configs/_base_/datasets/dota_le90.json +21 -0
- oriented_det-0.1.0/oriented_det/configs/_base_/fp16.json +5 -0
- oriented_det-0.1.0/oriented_det/configs/_base_/models/oriented_rcnn_r50.json +26 -0
- oriented_det-0.1.0/oriented_det/configs/_base_/models/rotated_faster_rcnn_r50.json +53 -0
- oriented_det-0.1.0/oriented_det/configs/_base_/models/rotated_retinanet_r50.json +30 -0
- oriented_det-0.1.0/oriented_det/configs/_base_/preprocessing.json +8 -0
- oriented_det-0.1.0/oriented_det/configs/_base_/schedules/1x.json +33 -0
- oriented_det-0.1.0/oriented_det/configs/config.schema.json +404 -0
- oriented_det-0.1.0/oriented_det/configs/oriented_rcnn/dota_le90_1x.json +121 -0
- oriented_det-0.1.0/oriented_det/configs/oriented_rcnn/dota_le90_3x.json +11 -0
- oriented_det-0.1.0/oriented_det/configs/rotated_faster_rcnn/dota_le90_1x.json +119 -0
- oriented_det-0.1.0/oriented_det/configs/rotated_faster_rcnn/dota_le90_3x.json +9 -0
- oriented_det-0.1.0/oriented_det/configs/rotated_retinanet/dota_le90_1x.json +107 -0
- oriented_det-0.1.0/oriented_det/configs/rotated_retinanet/dota_le90_3x.json +30 -0
- oriented_det-0.1.0/oriented_det/data/__init__.py +89 -0
- oriented_det-0.1.0/oriented_det/data/airbus_playground.py +611 -0
- oriented_det-0.1.0/oriented_det/data/dota.py +741 -0
- oriented_det-0.1.0/oriented_det/data/dota_classes.py +26 -0
- oriented_det-0.1.0/oriented_det/data/evaluation.py +648 -0
- oriented_det-0.1.0/oriented_det/data/flips.py +115 -0
- oriented_det-0.1.0/oriented_det/data/preprocessing.py +335 -0
- oriented_det-0.1.0/oriented_det/data/tiling.py +399 -0
- oriented_det-0.1.0/oriented_det/data/transforms.py +377 -0
- oriented_det-0.1.0/oriented_det/geometry/__init__.py +8 -0
- oriented_det-0.1.0/oriented_det/geometry/poly.py +127 -0
- oriented_det-0.1.0/oriented_det/geometry/qbox.py +63 -0
- oriented_det-0.1.0/oriented_det/geometry/rbox.py +250 -0
- oriented_det-0.1.0/oriented_det/geometry/transforms.py +266 -0
- oriented_det-0.1.0/oriented_det/models/__init__.py +36 -0
- oriented_det-0.1.0/oriented_det/models/backbones/__init__.py +11 -0
- oriented_det-0.1.0/oriented_det/models/backbones/resnet_fpn.py +79 -0
- oriented_det-0.1.0/oriented_det/models/backbones/utils.py +81 -0
- oriented_det-0.1.0/oriented_det/models/bbox_coder.py +355 -0
- oriented_det-0.1.0/oriented_det/models/faster_rcnn_inference.py +494 -0
- oriented_det-0.1.0/oriented_det/models/horizontal_roi_coder.py +155 -0
- oriented_det-0.1.0/oriented_det/models/oriented_rcnn.py +1256 -0
- oriented_det-0.1.0/oriented_det/models/oriented_roi.py +1664 -0
- oriented_det-0.1.0/oriented_det/models/oriented_rpn.py +2104 -0
- oriented_det-0.1.0/oriented_det/models/rotated_retinanet.py +1030 -0
- oriented_det-0.1.0/oriented_det/models/utils.py +590 -0
- oriented_det-0.1.0/oriented_det/ops/__init__.py +58 -0
- oriented_det-0.1.0/oriented_det/ops/gpu_ops.py +1109 -0
- oriented_det-0.1.0/oriented_det/ops/iou.py +172 -0
- oriented_det-0.1.0/oriented_det/ops/kfiou.py +275 -0
- oriented_det-0.1.0/oriented_det/ops/nms.py +202 -0
- oriented_det-0.1.0/oriented_det/ops/probiou.py +165 -0
- oriented_det-0.1.0/oriented_det/ops/rotated_ops.py +122 -0
- oriented_det-0.1.0/oriented_det/ops/utils.py +257 -0
- oriented_det-0.1.0/oriented_det/pretrained/__init__.py +23 -0
- oriented_det-0.1.0/oriented_det/pretrained/hub.py +249 -0
- oriented_det-0.1.0/oriented_det/pretrained/manifest.json +46 -0
- oriented_det-0.1.0/oriented_det/runtime/__init__.py +29 -0
- oriented_det-0.1.0/oriented_det/runtime/checkpoint.py +274 -0
- oriented_det-0.1.0/oriented_det/runtime/collate.py +348 -0
- oriented_det-0.1.0/oriented_det/runtime/inference.py +1286 -0
- oriented_det-0.1.0/oriented_det/train/__init__.py +102 -0
- oriented_det-0.1.0/oriented_det/train/config.py +872 -0
- oriented_det-0.1.0/oriented_det/train/engine.py +2933 -0
- oriented_det-0.1.0/oriented_det/train/grouped_ce.py +139 -0
- oriented_det-0.1.0/oriented_det/train/piecewise_schedule.py +33 -0
- oriented_det-0.1.0/oriented_det/train/profiler.py +287 -0
- oriented_det-0.1.0/oriented_det/train/utils.py +999 -0
- oriented_det-0.1.0/oriented_det/utils/__init__.py +31 -0
- oriented_det-0.1.0/oriented_det/utils/config.py +376 -0
- oriented_det-0.1.0/oriented_det/utils/device.py +35 -0
- oriented_det-0.1.0/oriented_det/utils/logging.py +163 -0
- oriented_det-0.1.0/oriented_det/utils/progress.py +62 -0
- oriented_det-0.1.0/oriented_det/utils/viz.py +181 -0
- oriented_det-0.1.0/oriented_det.egg-info/PKG-INFO +313 -0
- oriented_det-0.1.0/oriented_det.egg-info/SOURCES.txt +155 -0
- oriented_det-0.1.0/oriented_det.egg-info/dependency_links.txt +1 -0
- oriented_det-0.1.0/oriented_det.egg-info/entry_points.txt +2 -0
- oriented_det-0.1.0/oriented_det.egg-info/requires.txt +33 -0
- oriented_det-0.1.0/oriented_det.egg-info/top_level.txt +3 -0
- oriented_det-0.1.0/pyproject.toml +104 -0
- oriented_det-0.1.0/setup.cfg +4 -0
- oriented_det-0.1.0/tests/test_airbus_playground.py +297 -0
- oriented_det-0.1.0/tests/test_bbox_coder.py +179 -0
- oriented_det-0.1.0/tests/test_config_behavior.py +191 -0
- oriented_det-0.1.0/tests/test_config_model_wiring.py +195 -0
- oriented_det-0.1.0/tests/test_cosine_tail_scheduler.py +141 -0
- oriented_det-0.1.0/tests/test_deploy_generate_description.py +124 -0
- oriented_det-0.1.0/tests/test_dota.py +258 -0
- oriented_det-0.1.0/tests/test_dota_tile_roots.py +90 -0
- oriented_det-0.1.0/tests/test_evaluation.py +138 -0
- oriented_det-0.1.0/tests/test_exact_rotated_iou.py +73 -0
- oriented_det-0.1.0/tests/test_geometry.py +127 -0
- oriented_det-0.1.0/tests/test_geometry_transforms.py +281 -0
- oriented_det-0.1.0/tests/test_gpu_ops.py +496 -0
- oriented_det-0.1.0/tests/test_grouped_ce.py +81 -0
- oriented_det-0.1.0/tests/test_iou.py +115 -0
- oriented_det-0.1.0/tests/test_kfiou.py +116 -0
- oriented_det-0.1.0/tests/test_metrics_margin_filter.py +21 -0
- oriented_det-0.1.0/tests/test_models.py +747 -0
- oriented_det-0.1.0/tests/test_nms.py +181 -0
- oriented_det-0.1.0/tests/test_ops_utils.py +83 -0
- oriented_det-0.1.0/tests/test_optimizer_param_groups.py +67 -0
- oriented_det-0.1.0/tests/test_piecewise_schedule.py +71 -0
- oriented_det-0.1.0/tests/test_preprocessing.py +74 -0
- oriented_det-0.1.0/tests/test_pretrained_hub.py +158 -0
- oriented_det-0.1.0/tests/test_probiou.py +70 -0
- oriented_det-0.1.0/tests/test_roi.py +909 -0
- oriented_det-0.1.0/tests/test_rpn.py +941 -0
- oriented_det-0.1.0/tests/test_score_thresholds.py +168 -0
- oriented_det-0.1.0/tests/test_sliding_window_margin.py +47 -0
- oriented_det-0.1.0/tests/test_tiling.py +64 -0
- oriented_det-0.1.0/tests/test_train.py +415 -0
- oriented_det-0.1.0/tests/test_train_flips.py +78 -0
- oriented_det-0.1.0/tests/test_training_config_strict.py +338 -0
- oriented_det-0.1.0/tests/test_transforms.py +107 -0
- oriented_det-0.1.0/tests/test_utils_config.py +271 -0
- oriented_det-0.1.0/tests/test_utils_viz.py +64 -0
- oriented_det-0.1.0/tests/test_vendored_configs_sync.py +9 -0
- oriented_det-0.1.0/tools/__init__.py +1 -0
- oriented_det-0.1.0/tools/app.py +1284 -0
- oriented_det-0.1.0/tools/dataset_stats.py +389 -0
- oriented_det-0.1.0/tools/dota_labels_to_comma.py +132 -0
- oriented_det-0.1.0/tools/free_gpu.py +142 -0
- oriented_det-0.1.0/tools/generate_airbus_playground_csv.py +154 -0
- oriented_det-0.1.0/tools/image_demo.py +200 -0
- oriented_det-0.1.0/tools/lr_finder.py +771 -0
- oriented_det-0.1.0/tools/measure_sampled_riou_error.py +483 -0
- oriented_det-0.1.0/tools/playground_to_dota.py +290 -0
- oriented_det-0.1.0/tools/pretrained_download.py +49 -0
- oriented_det-0.1.0/tools/preview_augmentation.py +510 -0
- oriented_det-0.1.0/tools/publish_checkpoint.py +96 -0
- oriented_det-0.1.0/tools/save_predictions.py +2350 -0
- oriented_det-0.1.0/tools/sync_vendored_configs.py +94 -0
- oriented_det-0.1.0/tools/tile_dota.py +447 -0
- oriented_det-0.1.0/tools/train.py +2324 -0
- oriented_det-0.1.0/tools/train_example.py +244 -0
- oriented_det-0.1.0/tools/train_multi_gpu.py +367 -0
- oriented_det-0.1.0/tools/visualize_boxes.py +183 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2026 Jeff Faudi and DL4EO (https://dl4eo.com)
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: oriented-det
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A lightweight, modern PyTorch library for rotated object detection in aerial and satellite imagery
|
|
5
|
+
Author: Jeff Faudi, DL4EO
|
|
6
|
+
Maintainer: Jeff Faudi, DL4EO
|
|
7
|
+
License-Expression: Apache-2.0
|
|
8
|
+
Project-URL: Homepage, https://github.com/DL4EO/oriented-det
|
|
9
|
+
Project-URL: Documentation, https://github.com/DL4EO/oriented-det#readme
|
|
10
|
+
Project-URL: Repository, https://github.com/DL4EO/oriented-det
|
|
11
|
+
Project-URL: Issues, https://github.com/DL4EO/oriented-det/issues
|
|
12
|
+
Project-URL: Bug Tracker, https://github.com/DL4EO/oriented-det/issues
|
|
13
|
+
Project-URL: DL4EO, https://dl4eo.com
|
|
14
|
+
Keywords: computer-vision,object-detection,rotated-detection,oriented-detection,pytorch,aerial-imagery,satellite-imagery,remote-sensing,dota,geospatial
|
|
15
|
+
Classifier: Development Status :: 3 - Alpha
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Intended Audience :: Science/Research
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
24
|
+
Classifier: Topic :: Scientific/Engineering :: Image Recognition
|
|
25
|
+
Requires-Python: >=3.10
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
Requires-Dist: torch>=2.3.0
|
|
29
|
+
Requires-Dist: torchvision>=0.18.0
|
|
30
|
+
Requires-Dist: numpy<2
|
|
31
|
+
Requires-Dist: Pillow>=9.0
|
|
32
|
+
Requires-Dist: albumentations>=1.3.0
|
|
33
|
+
Requires-Dist: tqdm>=4.65.0
|
|
34
|
+
Requires-Dist: tensorboard>=2.10
|
|
35
|
+
Requires-Dist: matplotlib>=3.5.0
|
|
36
|
+
Requires-Dist: huggingface_hub>=0.20.0
|
|
37
|
+
Requires-Dist: shapely>=2.0.0
|
|
38
|
+
Provides-Extra: export
|
|
39
|
+
Requires-Dist: onnx>=1.14.0; extra == "export"
|
|
40
|
+
Requires-Dist: onnxruntime>=1.16.0; extra == "export"
|
|
41
|
+
Requires-Dist: onnx2tf>=1.22.0; extra == "export"
|
|
42
|
+
Requires-Dist: tensorflow>=2.14.0; extra == "export"
|
|
43
|
+
Provides-Extra: dev
|
|
44
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
45
|
+
Requires-Dist: pytest-cov>=4.0; extra == "dev"
|
|
46
|
+
Requires-Dist: black>=23.0; extra == "dev"
|
|
47
|
+
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
|
48
|
+
Requires-Dist: build>=1.0; extra == "dev"
|
|
49
|
+
Requires-Dist: twine>=5.0; extra == "dev"
|
|
50
|
+
Provides-Extra: docs
|
|
51
|
+
Requires-Dist: mkdocs>=1.5.0; extra == "docs"
|
|
52
|
+
Requires-Dist: mkdocs-material>=9.0.0; extra == "docs"
|
|
53
|
+
Requires-Dist: mkdocstrings[python]>=0.23.0; extra == "docs"
|
|
54
|
+
Requires-Dist: pymdown-extensions>=10.0; extra == "docs"
|
|
55
|
+
Provides-Extra: all
|
|
56
|
+
Requires-Dist: oriented-det[dev]; extra == "all"
|
|
57
|
+
Dynamic: license-file
|
|
58
|
+
|
|
59
|
+
# OrientedDet
|
|
60
|
+
|
|
61
|
+
**OrientedDet** is a lightweight, modern PyTorch library for **rotated object detection** in aerial and satellite imagery. 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.
|
|
62
|
+
|
|
63
|
+
## Features
|
|
64
|
+
|
|
65
|
+
- **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
|
|
66
|
+
- **IoU & NMS**: Rotated IoU and oriented NMS (CPU with optional GPU kernels when available); AABB pre-filtering; `obb_to_xyxy` / HBB conversion
|
|
67
|
+
- **Datasets**: DOTA polygon loader (pattern, split file, or separate folders), image tiling, label filtering, ignore masks, oriented mAP evaluation
|
|
68
|
+
- **Models**: **Oriented R-CNN** (horizontal RPN + MidpointOffset → oriented ROI), **Rotated Faster R-CNN** (oriented RPN + oriented ROI), **Rotated RetinaNet** (oriented anchors, focal loss); ResNet + FPN backbones; selective loading of external checkpoints where configs wire `checkpoint.load_from_checkpoint`
|
|
69
|
+
- **Training**: JSON configs + **`odet train`**, mixed precision (AMP), gradient accumulation, checkpointing, best-metric tracking, TensorBoard, optional curriculum learning and profiling
|
|
70
|
+
|
|
71
|
+
## Installation
|
|
72
|
+
|
|
73
|
+
- **Python** >= 3.9. Use [uv](https://docs.astral.sh/uv/) to install Python versions and manage the virtual environment.
|
|
74
|
+
- From the repo root (Linux with CUDA 12.1):
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
# Make sure you're in the project directory
|
|
78
|
+
cd ~/oriented-det
|
|
79
|
+
|
|
80
|
+
# Install uv if needed: https://docs.astral.sh/uv/getting-started/installation/
|
|
81
|
+
# Create a venv with Python 3.12 (uv downloads the interpreter if missing)
|
|
82
|
+
uv venv --python 3.12
|
|
83
|
+
source .venv/bin/activate
|
|
84
|
+
|
|
85
|
+
# Install PyTorch with CUDA 12.1 from PyTorch's index (2.3.0 or a higher version is fine)
|
|
86
|
+
uv pip install "torch>=2.3.0" "torchvision>=0.18.0" --index-url https://download.pytorch.org/whl/cu121
|
|
87
|
+
|
|
88
|
+
# Install dependencies and the project in editable mode
|
|
89
|
+
uv pip install -r requirements.txt
|
|
90
|
+
uv pip install -e .
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
- From PyPI (when published): `pip install oriented-det`
|
|
94
|
+
- For development and tests: `uv pip install -e ".[dev]"`
|
|
95
|
+
- For **macOS Apple Silicon** or **CPU-only**, see [Installation](docs/getting-started/installation.md).
|
|
96
|
+
- Verify: `pytest tests/test_geometry.py tests/test_iou.py tests/test_nms.py`
|
|
97
|
+
|
|
98
|
+
## Quick start
|
|
99
|
+
|
|
100
|
+
After [installation](#installation):
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
# Train on DOTA tiles (edit dataset paths in the config first)
|
|
104
|
+
odet train --config configs/rotated_faster_rcnn/dota_le90_3x.json
|
|
105
|
+
|
|
106
|
+
# Or use the Makefile wrapper (same default config)
|
|
107
|
+
make train
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Default 3× recipe: `configs/rotated_faster_rcnn/dota_le90_3x.json` (see [configs/rotated_faster_rcnn/README.md](configs/rotated_faster_rcnn/README.md)). 1× baseline: `dota_le90_1x.json`.
|
|
111
|
+
|
|
112
|
+
Programmatic APIs and a longer walkthrough: [Getting Started](docs/getting-started/installation.md). Config fields: [Configuration](docs/user-guide/configuration.md).
|
|
113
|
+
|
|
114
|
+
### Paths in documentation and configs
|
|
115
|
+
|
|
116
|
+
Examples throughout this repo use placeholder paths such as **`/path/to/data`** and **`/path/to/oriented-det`**. You can point commands and JSON configs at your real locations (e.g. `dataset.data_root` in a training config), or keep those placeholders and map them with symbolic links:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
# Create the parent directory (may need sudo for paths under /path/to)
|
|
120
|
+
sudo mkdir -p /path/to
|
|
121
|
+
|
|
122
|
+
# Point the placeholder at your DOTA dataset
|
|
123
|
+
ln -s /home/username/dota /path/to/data
|
|
124
|
+
|
|
125
|
+
# Point the placeholder at your clone of this repo
|
|
126
|
+
ln -s /home/username/oriented-det /path/to/oriented-det
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
After that, copy-pasted commands and unmodified configs that reference `/path/to/data` or `/path/to/oriented-det` resolve to your machine. Use relative symlink targets when you want the link to stay valid if the parent directory moves.
|
|
130
|
+
|
|
131
|
+
## Repository layout
|
|
132
|
+
|
|
133
|
+
| What | Where | You use it for |
|
|
134
|
+
|------|--------|----------------|
|
|
135
|
+
| **Library** | [`oriented_det/`](oriented_det/) | Geometry, models, datasets, training engine, ops — import in Python or extend in your own code |
|
|
136
|
+
| **CLI** | **`odet`** ([`oriented_det/cli/`](oriented_det/cli/)) | Train, tile data, run val inference, metrics, demos — **primary interface** after `uv pip install -e .` |
|
|
137
|
+
| **CLI implementations** | [`tools/`](tools/) | Python modules that implement `odet` subcommands (train, preds, tiling, …). Not a separate “old” API; contributors and debugging may call `python -m tools.train` directly |
|
|
138
|
+
| **Configs** | [`configs/`](configs/) | Experiment JSON (`_base_` inheritance, schema in `configs/config.schema.json`) |
|
|
139
|
+
| **Runs** | `runs/<model_type>/<timestamp>/` | Checkpoints, `config.json` snapshot, `train.log` (created at train time; not shipped in the repo) |
|
|
140
|
+
| **Docs** | [`docs/`](docs/) | MkDocs user guide and API reference |
|
|
141
|
+
| **Export** | [`export/`](export/) | Optional ONNX / TensorFlow export pipeline |
|
|
142
|
+
| **Examples** | [`demo/`](demo/), [`pretrained/`](pretrained/) | Demo images; registered checkpoints (large `.pth` files are usually gitignored) |
|
|
143
|
+
|
|
144
|
+
**`odet` vs `tools/`:** Installing the package registers the `odet` command. It loads modules under `tools/` (for example `tools.train`, `tools.save_predictions`). Shared inference and collate code lives in [`oriented_det/runtime/`](oriented_det/runtime/). You do not need two workflows — use **`odet`** (or **`make`**, which calls `odet`).
|
|
145
|
+
|
|
146
|
+
**Publishing a clean tree:** Ship the library, configs, docs, and tests. Omit local experiment output (`runs/`), datasets, and machine-specific paths in configs/Makefile.
|
|
147
|
+
|
|
148
|
+
## Documentation
|
|
149
|
+
|
|
150
|
+
Full documentation is in the **docs/** folder and can be built and served with MkDocs:
|
|
151
|
+
|
|
152
|
+
- **Build/serve**: `make docs` or `make docs-serve` (see [docs/README.md](docs/README.md)); or `uv pip install -e ".[docs]"` then `mkdocs serve`.
|
|
153
|
+
- **Guides**: [Getting Started](docs/getting-started/installation.md), [User Guide](docs/user-guide/geometry.md), [API Reference](docs/api/geometry.md), [Examples](docs/examples/visualization.md).
|
|
154
|
+
|
|
155
|
+
## Documentation by folder
|
|
156
|
+
|
|
157
|
+
| Folder | README | Description |
|
|
158
|
+
|--------|--------|-------------|
|
|
159
|
+
| [export/](export/) | [export/README.md](export/README.md) | Phase 1: PyTorch → ONNX → Keras detect bundle; `cd export && make export-tf` |
|
|
160
|
+
| [demo/](demo/) | [demo/README.md](demo/README.md) | Demo images; `odet image-demo` or `make demo` with the latest `runs/` checkpoint |
|
|
161
|
+
| [pretrained/](pretrained/) | [pretrained/README.md](pretrained/README.md) | Registered checkpoints for fine-tunes; large `.pth` files are usually gitignored |
|
|
162
|
+
| [oriented_det/cli/](oriented_det/cli/) | [oriented_det/cli/README.md](oriented_det/cli/README.md) | **`odet`** entry point and subcommand list |
|
|
163
|
+
| [tools/](tools/) | [tools/README.md](tools/README.md) | CLI script implementations (invoked by `odet`; see [Repository layout](#repository-layout)) |
|
|
164
|
+
| [configs/](configs/) | [configs/README.md](configs/README.md) | DOTA configs and **pretrain model zoo** (`_base_` inheritance) |
|
|
165
|
+
| [deploy/example/](deploy/example/) | [deploy/example/README.md](deploy/example/README.md) | Minimal DOTA deploy smoke image |
|
|
166
|
+
| [docs/](docs/) | [docs/README.md](docs/README.md) | MkDocs source; full user guide and API reference |
|
|
167
|
+
|
|
168
|
+
## Training and evaluation
|
|
169
|
+
|
|
170
|
+
Install once: `uv pip install -e .`. Then:
|
|
171
|
+
|
|
172
|
+
| Task | Command |
|
|
173
|
+
|------|---------|
|
|
174
|
+
| Train | `odet train --config configs/rotated_faster_rcnn/dota_le90_3x.json` or `make train` |
|
|
175
|
+
| Multi-GPU | `make train-multi-gpu` (`torchrun` + cuDNN on `LD_LIBRARY_PATH`) |
|
|
176
|
+
| Tile DOTA | `odet tile-dota /path/to/dota/train` |
|
|
177
|
+
| Val predictions | `odet preds --experiment-dir runs/rotated_faster_rcnn/<timestamp>` or `make preds` |
|
|
178
|
+
| Offline mAP | `make eval-val` or `make preds` then `make metrics` |
|
|
179
|
+
|
|
180
|
+
DOTA configs: per-model `dota_le90_1x.json` / `dota_le90_3x.json` under [configs/](configs/). 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).
|
|
181
|
+
|
|
182
|
+
## Pretrained weights and evaluation
|
|
183
|
+
|
|
184
|
+
- Place exported best checkpoints under **`pretrained/`** or use Hub slugs (`odet pretrained download oriented_rcnn_dota_le90_1x`). See [pretrained/README.md](pretrained/README.md) and [configs/README.md](configs/README.md#dota-pretrained-models-model-zoo).
|
|
185
|
+
- **Tiled validation:** after training, run `make preds` then `make metrics` (or `odet preds` / `odet preds --metrics-from-json`). Large images use sliding-window inference when they exceed the model canvas; thresholds and overlap come from **`production.*`** in the experiment config.
|
|
186
|
+
|
|
187
|
+
## Important notes
|
|
188
|
+
|
|
189
|
+
- **Angles**: Radians; use a single convention (e.g. le90 for DOTA). Helper: `normalize_le90` from `oriented_det.geometry`. For angle-delta normalization in custom code, see `oriented_det.models.oriented_rpn.normalize_angle_delta`.
|
|
190
|
+
- **NMS**: `torchvision.ops.nms_rotated` does not exist; the project uses a Python-based oriented NMS with AABB pre-filtering. GPU kernels are used when available.
|
|
191
|
+
- **ROI/memory**: Training samples 512 proposals per image; use `roi_chunk_size` and `roi_use_checkpoint` for memory tuning on large GPUs.
|
|
192
|
+
|
|
193
|
+
## Roadmap
|
|
194
|
+
|
|
195
|
+
- **v0.1** (current): Geometry, IoU/NMS, DOTA loader + tiler, three baseline detectors, config-based training, Hub pretrained weights
|
|
196
|
+
- **Next**: HRSC2016 dataset support, expanded tutorials, hosted docs
|
|
197
|
+
- **Future**: Additional oriented detectors (e.g. FAIR1M), optional fused CUDA kernels
|
|
198
|
+
|
|
199
|
+
## Contributing
|
|
200
|
+
|
|
201
|
+
Contributions are welcome. Run tests with `pytest`, format with `black` and `ruff`. See [docs/contributing.md](docs/contributing.md) for guidelines.
|
|
202
|
+
|
|
203
|
+
## Publishing to PyPI
|
|
204
|
+
|
|
205
|
+
Version **0.1.0** — tag releases as **`v0.1.0`** (git) matching `version` in `pyproject.toml`.
|
|
206
|
+
|
|
207
|
+
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`**.
|
|
208
|
+
|
|
209
|
+
Install publishing tools (included in `.[dev]`):
|
|
210
|
+
|
|
211
|
+
```bash
|
|
212
|
+
uv pip install -e ".[dev]" # or: make publish-deps
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### Step-by-step: first release (v0.1.0)
|
|
216
|
+
|
|
217
|
+
#### 1. One-time PyPI setup
|
|
218
|
+
|
|
219
|
+
1. Create accounts on [test.pypi.org](https://test.pypi.org) and [pypi.org](https://pypi.org) (can use the same email).
|
|
220
|
+
2. **Register the project name** `oriented-det` on PyPI (first upload creates it; TestPyPI is separate).
|
|
221
|
+
3. **Trusted Publishing (recommended)** — on each index, add a publisher for `DL4EO/oriented-det`, workflow `publish.yml`, environments `testpypi` / `pypi`. See [.github/workflows/README.md](.github/workflows/README.md).
|
|
222
|
+
4. **Or API tokens** — create `pypi-…` tokens and export locally (or add GitHub secrets `TESTPYPI_API_TOKEN`, `PYPI_API_TOKEN`):
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
export TWINE_USERNAME=__token__
|
|
226
|
+
export TWINE_PASSWORD=pypi-AgEI… # TestPyPI or PyPI token
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
#### 2. Pre-release checklist
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
make check-configs
|
|
233
|
+
pytest tests/ -q
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Bump version in `pyproject.toml` and `docs/changelog.md` if needed (currently **0.1.0**).
|
|
237
|
+
|
|
238
|
+
#### 3. Build locally
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
make sync-configs # after changing configs/ or the manifest
|
|
242
|
+
make build # check-configs + sdist + wheel into dist/
|
|
243
|
+
make twine-check
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
Smoke-test the wheel:
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
python -m venv /tmp/odet-smoke && source /tmp/odet-smoke/bin/activate
|
|
250
|
+
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
|
251
|
+
pip install dist/*.whl
|
|
252
|
+
odet --help
|
|
253
|
+
python -c "from oriented_det.geometry import RBox; print(RBox(0,0,1,1,0).area)"
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
#### 4. Upload to TestPyPI
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
make publish-testpypi
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
Install from TestPyPI (PyPI index still needed for dependencies like `torch`):
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple oriented-det==0.1.0
|
|
266
|
+
odet --help
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
Or trigger **Actions → Publish → Run workflow** (target: `testpypi`) after configuring Trusted Publishing or secrets.
|
|
270
|
+
|
|
271
|
+
#### 5. Tag and upload to production PyPI
|
|
272
|
+
|
|
273
|
+
When TestPyPI looks good:
|
|
274
|
+
|
|
275
|
+
```bash
|
|
276
|
+
git tag -a v0.1.0 -m "Release 0.1.0"
|
|
277
|
+
git push origin v0.1.0 # triggers publish.yml → PyPI (if CI is configured)
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
Local upload (fallback):
|
|
281
|
+
|
|
282
|
+
```bash
|
|
283
|
+
make publish-pypi
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
Create a [GitHub Release](https://github.com/DL4EO/oriented-det/releases) from tag `v0.1.0` with notes from `docs/changelog.md`.
|
|
287
|
+
|
|
288
|
+
#### 6. After publish
|
|
289
|
+
|
|
290
|
+
- Change install docs from “when published” to `pip install oriented-det`.
|
|
291
|
+
- Users still install **PyTorch** separately for their CUDA/CPU platform.
|
|
292
|
+
|
|
293
|
+
### Makefile targets
|
|
294
|
+
|
|
295
|
+
| Target | Action |
|
|
296
|
+
|--------|--------|
|
|
297
|
+
| `make publish-deps` | Install `build` and `twine` |
|
|
298
|
+
| `make build` | `check-configs` + `python -m build` |
|
|
299
|
+
| `make twine-check` | Validate `dist/*` metadata |
|
|
300
|
+
| `make publish-testpypi` | Build, check, upload to TestPyPI |
|
|
301
|
+
| `make publish-pypi` | Build, check, upload to PyPI |
|
|
302
|
+
|
|
303
|
+
Notes:
|
|
304
|
+
|
|
305
|
+
- **Trusted Publishing** avoids long-lived tokens; keep `make publish-*` for manual releases. Details: [.github/workflows/README.md](.github/workflows/README.md).
|
|
306
|
+
|
|
307
|
+
## License
|
|
308
|
+
|
|
309
|
+
**Apache-2.0** — Copyright © Jeff Faudi and [DL4EO](https://dl4eo.com). See [LICENSE](LICENSE) for details.
|
|
310
|
+
|
|
311
|
+
## Acknowledgements
|
|
312
|
+
|
|
313
|
+
Design and APIs are informed by MMRotate, MMDetection, Detectron2, and related work in oriented object detection; **pretrained checkpoints in `pretrained/` are OrientedDet exports from this codebase**, not MMRotate zoo bundles.
|