Skip to content

Commit

Permalink
Add rotated det OV recipe (#3687)
Browse files Browse the repository at this point in the history
* Add rotated det ov recipe

* fix e2e test cli
  • Loading branch information
eugene123tw authored Jun 26, 2024
1 parent ead8a02 commit 8cc9542
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
25 changes: 25 additions & 0 deletions src/otx/recipe/rotated_detection/openvino_model.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
model:
class_path: otx.core.model.instance_segmentation.OVInstanceSegmentationModel
init_args:
label_info: 80
model_name: openvino.xml
model_type: MaskRCNN
async_inference: True
use_throughput_mode: True

engine:
task: ROTATED_DETECTION
device: cpu

callback_monitor: val/map_50

data: ../_base_/data/torchvision_base.yaml
overrides:
data:
task: ROTATED_DETECTION
config:
include_polygons: true
image_color_channel: RGB
data_format: coco_instances
test_subset:
batch_size: 24
1 change: 0 additions & 1 deletion tests/e2e/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ def test_otx_e2e_cli(
task_name in recipe
for task_name in [
"dino_v2",
"rotated_detection/maskrcnn",
]
):
return
Expand Down
1 change: 0 additions & 1 deletion tests/integration/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ def test_otx_e2e(
task_name in recipe
for task_name in [
"dino_v2",
"rotated_detection/maskrcnn",
]
):
return
Expand Down

0 comments on commit 8cc9542

Please sign in to comment.