From 0215326957fc23fa77a3c02108f3d8fc07f5ac82 Mon Sep 17 00:00:00 2001 From: Vladislav Sovrasov Date: Thu, 5 Dec 2024 13:34:47 +0100 Subject: [PATCH] Hide semi-sl recipes from tests (#4144) * Hide semi sl recipes from tests * Fix unit tests --- .../semisl/{deit_tiny_semisl.yaml => deit_tiny_semisl.yml} | 0 .../semisl/{dino_v2_semisl.yaml => dino_v2_semisl.yml} | 0 ...efficientnet_b0_semisl.yaml => efficientnet_b0_semisl.yml} | 0 ...efficientnet_v2_semisl.yaml => efficientnet_v2_semisl.yml} | 0 ...net_v3_large_semisl.yaml => mobilenet_v3_large_semisl.yml} | 0 ...icientnet_b3_semisl.yaml => tv_efficientnet_b3_semisl.yml} | 0 ...ntnet_v2_l_semisl.yaml => tv_efficientnet_v2_l_semisl.yml} | 0 ..._v3_small_semisl.yaml => tv_mobilenet_v3_small_semisl.yml} | 0 .../semisl/{dino_v2_semisl.yaml => dino_v2_semisl.yml} | 0 .../{litehrnet_18_semisl.yaml => litehrnet_18_semisl.yml} | 0 .../{litehrnet_s_semisl.yaml => litehrnet_s_semisl.yml} | 0 .../{litehrnet_x_semisl.yaml => litehrnet_x_semisl.yml} | 0 .../semisl/{segnext_b_semisl.yaml => segnext_b_semisl.yml} | 0 .../semisl/{segnext_s_semisl.yaml => segnext_s_semisl.yml} | 0 .../semisl/{segnext_t_semisl.yaml => segnext_t_semisl.yml} | 0 tests/unit/engine/utils/test_api.py | 4 ---- 16 files changed, 4 deletions(-) rename src/otx/recipe/classification/multi_class_cls/semisl/{deit_tiny_semisl.yaml => deit_tiny_semisl.yml} (100%) rename src/otx/recipe/classification/multi_class_cls/semisl/{dino_v2_semisl.yaml => dino_v2_semisl.yml} (100%) rename src/otx/recipe/classification/multi_class_cls/semisl/{efficientnet_b0_semisl.yaml => efficientnet_b0_semisl.yml} (100%) rename src/otx/recipe/classification/multi_class_cls/semisl/{efficientnet_v2_semisl.yaml => efficientnet_v2_semisl.yml} (100%) rename src/otx/recipe/classification/multi_class_cls/semisl/{mobilenet_v3_large_semisl.yaml => mobilenet_v3_large_semisl.yml} (100%) rename src/otx/recipe/classification/multi_class_cls/semisl/{tv_efficientnet_b3_semisl.yaml => tv_efficientnet_b3_semisl.yml} (100%) rename src/otx/recipe/classification/multi_class_cls/semisl/{tv_efficientnet_v2_l_semisl.yaml => tv_efficientnet_v2_l_semisl.yml} (100%) rename src/otx/recipe/classification/multi_class_cls/semisl/{tv_mobilenet_v3_small_semisl.yaml => tv_mobilenet_v3_small_semisl.yml} (100%) rename src/otx/recipe/semantic_segmentation/semisl/{dino_v2_semisl.yaml => dino_v2_semisl.yml} (100%) rename src/otx/recipe/semantic_segmentation/semisl/{litehrnet_18_semisl.yaml => litehrnet_18_semisl.yml} (100%) rename src/otx/recipe/semantic_segmentation/semisl/{litehrnet_s_semisl.yaml => litehrnet_s_semisl.yml} (100%) rename src/otx/recipe/semantic_segmentation/semisl/{litehrnet_x_semisl.yaml => litehrnet_x_semisl.yml} (100%) rename src/otx/recipe/semantic_segmentation/semisl/{segnext_b_semisl.yaml => segnext_b_semisl.yml} (100%) rename src/otx/recipe/semantic_segmentation/semisl/{segnext_s_semisl.yaml => segnext_s_semisl.yml} (100%) rename src/otx/recipe/semantic_segmentation/semisl/{segnext_t_semisl.yaml => segnext_t_semisl.yml} (100%) diff --git a/src/otx/recipe/classification/multi_class_cls/semisl/deit_tiny_semisl.yaml b/src/otx/recipe/classification/multi_class_cls/semisl/deit_tiny_semisl.yml similarity index 100% rename from src/otx/recipe/classification/multi_class_cls/semisl/deit_tiny_semisl.yaml rename to src/otx/recipe/classification/multi_class_cls/semisl/deit_tiny_semisl.yml diff --git a/src/otx/recipe/classification/multi_class_cls/semisl/dino_v2_semisl.yaml b/src/otx/recipe/classification/multi_class_cls/semisl/dino_v2_semisl.yml similarity index 100% rename from src/otx/recipe/classification/multi_class_cls/semisl/dino_v2_semisl.yaml rename to src/otx/recipe/classification/multi_class_cls/semisl/dino_v2_semisl.yml diff --git a/src/otx/recipe/classification/multi_class_cls/semisl/efficientnet_b0_semisl.yaml b/src/otx/recipe/classification/multi_class_cls/semisl/efficientnet_b0_semisl.yml similarity index 100% rename from src/otx/recipe/classification/multi_class_cls/semisl/efficientnet_b0_semisl.yaml rename to src/otx/recipe/classification/multi_class_cls/semisl/efficientnet_b0_semisl.yml diff --git a/src/otx/recipe/classification/multi_class_cls/semisl/efficientnet_v2_semisl.yaml b/src/otx/recipe/classification/multi_class_cls/semisl/efficientnet_v2_semisl.yml similarity index 100% rename from src/otx/recipe/classification/multi_class_cls/semisl/efficientnet_v2_semisl.yaml rename to src/otx/recipe/classification/multi_class_cls/semisl/efficientnet_v2_semisl.yml diff --git a/src/otx/recipe/classification/multi_class_cls/semisl/mobilenet_v3_large_semisl.yaml b/src/otx/recipe/classification/multi_class_cls/semisl/mobilenet_v3_large_semisl.yml similarity index 100% rename from src/otx/recipe/classification/multi_class_cls/semisl/mobilenet_v3_large_semisl.yaml rename to src/otx/recipe/classification/multi_class_cls/semisl/mobilenet_v3_large_semisl.yml diff --git a/src/otx/recipe/classification/multi_class_cls/semisl/tv_efficientnet_b3_semisl.yaml b/src/otx/recipe/classification/multi_class_cls/semisl/tv_efficientnet_b3_semisl.yml similarity index 100% rename from src/otx/recipe/classification/multi_class_cls/semisl/tv_efficientnet_b3_semisl.yaml rename to src/otx/recipe/classification/multi_class_cls/semisl/tv_efficientnet_b3_semisl.yml diff --git a/src/otx/recipe/classification/multi_class_cls/semisl/tv_efficientnet_v2_l_semisl.yaml b/src/otx/recipe/classification/multi_class_cls/semisl/tv_efficientnet_v2_l_semisl.yml similarity index 100% rename from src/otx/recipe/classification/multi_class_cls/semisl/tv_efficientnet_v2_l_semisl.yaml rename to src/otx/recipe/classification/multi_class_cls/semisl/tv_efficientnet_v2_l_semisl.yml diff --git a/src/otx/recipe/classification/multi_class_cls/semisl/tv_mobilenet_v3_small_semisl.yaml b/src/otx/recipe/classification/multi_class_cls/semisl/tv_mobilenet_v3_small_semisl.yml similarity index 100% rename from src/otx/recipe/classification/multi_class_cls/semisl/tv_mobilenet_v3_small_semisl.yaml rename to src/otx/recipe/classification/multi_class_cls/semisl/tv_mobilenet_v3_small_semisl.yml diff --git a/src/otx/recipe/semantic_segmentation/semisl/dino_v2_semisl.yaml b/src/otx/recipe/semantic_segmentation/semisl/dino_v2_semisl.yml similarity index 100% rename from src/otx/recipe/semantic_segmentation/semisl/dino_v2_semisl.yaml rename to src/otx/recipe/semantic_segmentation/semisl/dino_v2_semisl.yml diff --git a/src/otx/recipe/semantic_segmentation/semisl/litehrnet_18_semisl.yaml b/src/otx/recipe/semantic_segmentation/semisl/litehrnet_18_semisl.yml similarity index 100% rename from src/otx/recipe/semantic_segmentation/semisl/litehrnet_18_semisl.yaml rename to src/otx/recipe/semantic_segmentation/semisl/litehrnet_18_semisl.yml diff --git a/src/otx/recipe/semantic_segmentation/semisl/litehrnet_s_semisl.yaml b/src/otx/recipe/semantic_segmentation/semisl/litehrnet_s_semisl.yml similarity index 100% rename from src/otx/recipe/semantic_segmentation/semisl/litehrnet_s_semisl.yaml rename to src/otx/recipe/semantic_segmentation/semisl/litehrnet_s_semisl.yml diff --git a/src/otx/recipe/semantic_segmentation/semisl/litehrnet_x_semisl.yaml b/src/otx/recipe/semantic_segmentation/semisl/litehrnet_x_semisl.yml similarity index 100% rename from src/otx/recipe/semantic_segmentation/semisl/litehrnet_x_semisl.yaml rename to src/otx/recipe/semantic_segmentation/semisl/litehrnet_x_semisl.yml diff --git a/src/otx/recipe/semantic_segmentation/semisl/segnext_b_semisl.yaml b/src/otx/recipe/semantic_segmentation/semisl/segnext_b_semisl.yml similarity index 100% rename from src/otx/recipe/semantic_segmentation/semisl/segnext_b_semisl.yaml rename to src/otx/recipe/semantic_segmentation/semisl/segnext_b_semisl.yml diff --git a/src/otx/recipe/semantic_segmentation/semisl/segnext_s_semisl.yaml b/src/otx/recipe/semantic_segmentation/semisl/segnext_s_semisl.yml similarity index 100% rename from src/otx/recipe/semantic_segmentation/semisl/segnext_s_semisl.yaml rename to src/otx/recipe/semantic_segmentation/semisl/segnext_s_semisl.yml diff --git a/src/otx/recipe/semantic_segmentation/semisl/segnext_t_semisl.yaml b/src/otx/recipe/semantic_segmentation/semisl/segnext_t_semisl.yml similarity index 100% rename from src/otx/recipe/semantic_segmentation/semisl/segnext_t_semisl.yaml rename to src/otx/recipe/semantic_segmentation/semisl/segnext_t_semisl.yml diff --git a/tests/unit/engine/utils/test_api.py b/tests/unit/engine/utils/test_api.py index a0420bb154b..7e6ad379052 100644 --- a/tests/unit/engine/utils/test_api.py +++ b/tests/unit/engine/utils/test_api.py @@ -28,15 +28,11 @@ def test_list_models_pattern() -> None: target = [ "efficientnet_b0", - "efficientnet_b0_semisl", "efficientnet_v2", - "efficientnet_v2_semisl", "maskrcnn_efficientnetb2b", "maskrcnn_efficientnetb2b_tile", "tv_efficientnet_b3", - "tv_efficientnet_b3_semisl", "tv_efficientnet_v2_l", - "tv_efficientnet_v2_l_semisl", ] assert sorted(models) == sorted(target)