Skip to content

Commit 516d395

Browse files
committed
fixed mistake while mergeing back 1.4.4
1 parent eadbb15 commit 516d395

File tree

9 files changed

+4
-17
lines changed

9 files changed

+4
-17
lines changed

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ natsort==8.1.*
44
prettytable==3.9.*
55
protobuf==3.20.*
66
pyyaml
7-
datumaro~=1.5.0
7+
datumaro==1.5.1rc3
88
psutil==5.9.*
99
scipy==1.10.*
1010
bayesian-optimization==1.4.*

tests/assets/datumaro_h-label/annotations/train.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"label": {
55
"label_groups": [
66
{
7-
"name": "blue",
7+
"name": "shape",
88
"group_type": "exclusive",
99
"labels": ["blue", "green"]
1010
},

tests/integration/cli/anomaly/test_anomaly_classification.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from otx.cli.registry import Registry
1212
from tests.test_suite.e2e_test_system import e2e_pytest_component
1313
from tests.test_suite.run_test_command import (
14-
generate_model_template_testing,
1514
nncf_optimize_testing,
1615
otx_deploy_openvino_testing,
1716
otx_eval_deployment_testing,

tests/integration/cli/anomaly/test_anomaly_detection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from otx.cli.registry import Registry
1212
from tests.test_suite.e2e_test_system import e2e_pytest_component
1313
from tests.test_suite.run_test_command import (
14-
generate_model_template_testing,
1514
nncf_optimize_testing,
1615
otx_deploy_openvino_testing,
1716
otx_eval_deployment_testing,

tests/integration/cli/anomaly/test_anomaly_segmentation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from otx.cli.registry import Registry
1212
from tests.test_suite.e2e_test_system import e2e_pytest_component
1313
from tests.test_suite.run_test_command import (
14-
generate_model_template_testing,
1514
nncf_optimize_testing,
1615
otx_deploy_openvino_testing,
1716
otx_eval_deployment_testing,

tests/integration/cli/instance_segmentation/test_instance_segmentation.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@
9090
TestInstanceSegmentationModelTemplates = generate_model_template_testing(templates)
9191

9292

93-
TestInstanceSegmentationModelTemplates = generate_model_template_testing(templates)
94-
95-
9693
class TestInstanceSegmentationCLI:
9794
@e2e_pytest_component
9895
@pytest.mark.parametrize("template", templates_with_experimental, ids=templates_ids_with_experimental)

tests/integration/cli/instance_segmentation/test_rotated_detection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
TestRotatedDetectionModelTemplates = generate_model_template_testing(templates)
3535

36+
3637
# NOTE: Most of implementation parts are same with the ISeg tasks.
3738
# So, currently just added the `test_otx_train` function to check
3839
# Whether further modifications make Rotated detection fails or not

tests/integration/cli/semantic_segmentation/test_segmentation.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@
9999
TestSemanticSegmentationModelTemplates = generate_model_template_testing(templates)
100100

101101

102-
TestSemanticSegmentationModelTemplates = generate_model_template_testing(templates)
103-
104-
105102
class TestSegmentationCLI:
106103
@e2e_pytest_component
107104
@pytest.mark.parametrize("template", default_templates, ids=default_templates_ids)
@@ -246,5 +243,5 @@ def test_otx_train_auto_adapt_batch_size(self, template, tmp_dir_path, bs_adapt_
246243
def test_otx_train_auto_adapt_num_workers(self, template, tmp_dir_path):
247244
adapting_num_workers_args = copy.deepcopy(args)
248245
adapting_num_workers_args["train_params"].extend(["--learning_parameters.auto_num_workers", "True"])
249-
tmp_dir_path = tmp_dir_path / f"segmentation_auto_adapt_num_workers"
246+
tmp_dir_path = tmp_dir_path / "segmentation_auto_adapt_num_workers"
250247
otx_train_testing(template, tmp_dir_path, otx_dir, adapting_num_workers_args)

tests/unit/algorithms/classification/adapters/mmcls/test_configurer.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ def setup(self) -> None:
4747
os.path.join(DEFAULT_CLS_TEMPLATE_DIR, "model_hierarchical.py")
4848
)
4949

50-
self.multilabel_model_cfg = MPAConfig.fromfile(os.path.join(DEFAULT_CLS_TEMPLATE_DIR, "model_multilabel.py"))
51-
self.hierarchical_model_cfg = MPAConfig.fromfile(
52-
os.path.join(DEFAULT_CLS_TEMPLATE_DIR, "model_hierarchical.py")
53-
)
54-
5550
@e2e_pytest_unit
5651
def test_configure(self, mocker):
5752
mock_cfg_merge = mocker.patch.object(ClassificationConfigurer, "merge_configs")

0 commit comments

Comments
 (0)