Skip to content

Commit 75040e3

Browse files
author
Songki Choi
authored
Add model category attributes to model template (#2439)
Add model category attributes to model template * Add model category & status fields in model template * Add is_default_for_task attr to model template * Update model templates with category attrs * Add integration tests for model templates consistency * Fix license & doc string * Fix typo * Refactor test cases * Refactor common tests by generator --------- Signed-off-by: Songki Choi <[email protected]>
1 parent 92006b6 commit 75040e3

File tree

30 files changed

+286
-103
lines changed

30 files changed

+286
-103
lines changed

src/otx/algorithms/anomaly/configs/classification/padim/template.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ training_targets:
2929
# Computational Complexity
3030
gigaflops: 3.9
3131
size: 168.4
32+
33+
# Model spec
34+
model_category: SPEED
35+
is_default_for_task: true

src/otx/algorithms/anomaly/configs/classification/stfpm/template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ training_targets:
3535
# Computational Complexity
3636
gigaflops: 5.6
3737
size: 21.1
38+
39+
# Model spec
40+
model_category: ACCURACY

src/otx/algorithms/anomaly/configs/detection/padim/template.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ training_targets:
2929
# Computational Complexity
3030
gigaflops: 3.9
3131
size: 168.4
32+
33+
# Model spec
34+
model_category: SPEED
35+
is_default_for_task: true

src/otx/algorithms/anomaly/configs/detection/stfpm/template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ training_targets:
3535
# Computational Complexity
3636
gigaflops: 5.6
3737
size: 21.1
38+
39+
# Model spec
40+
model_category: ACCURACY

src/otx/algorithms/anomaly/configs/segmentation/padim/template.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ training_targets:
2929
# Computational Complexity
3030
gigaflops: 3.9
3131
size: 168.4
32+
33+
# Model spec
34+
model_category: SPEED
35+
is_default_for_task: true

src/otx/algorithms/anomaly/configs/segmentation/stfpm/template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ training_targets:
3535
# Computational Complexity
3636
gigaflops: 5.6
3737
size: 21.1
38+
39+
# Model spec
40+
model_category: ACCURACY

src/otx/algorithms/classification/configs/efficientnet_b0_cls_incr/template.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ training_targets:
5757
# Stats.
5858
gigaflops: 0.81
5959
size: 4.09
60+
61+
# Model spec
62+
model_category: BALANCE
63+
is_default_for_task: true

src/otx/algorithms/classification/configs/efficientnet_v2_s_cls_incr/template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ training_targets:
5757
# Stats.
5858
gigaflops: 5.76
5959
size: 20.23
60+
61+
# Model spec
62+
model_category: ACCURACY

src/otx/algorithms/classification/configs/mobilenet_v3_large_1_cls_incr/template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ training_targets:
5757
# Stats.
5858
gigaflops: 0.44
5959
size: 4.29
60+
61+
# Model spec
62+
model_category: SPEED

src/otx/algorithms/detection/configs/detection/cspdarknet_yolox/template.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ training_targets:
5757
# Stats.
5858
gigaflops: 6.5
5959
size: 20.4
60-
# # Inference options. Defined by OpenVINO capabilities, not Algo Backend or Platform.
61-
# inference_targets:
62-
# - CPU
63-
# - GPU
64-
# - VPU
60+
61+
# Model spec
62+
model_category: SPEED

0 commit comments

Comments
 (0)