Skip to content

Commit

Permalink
Merge branch 'develop' into vsaltykovx/add_mmdetection_input_paramete…
Browse files Browse the repository at this point in the history
…rs_validation
  • Loading branch information
saltykox committed Feb 21, 2022
2 parents 23207fd + e8d24d0 commit adc9621
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion external/deep-object-reid
Submodule deep-object-reid updated 1 files
+2 −1 init_venv.sh
2 changes: 1 addition & 1 deletion tests/ote_cli/test_ote_cli_tools_anomaly_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_nncf_eval(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_eval_testing(template, root, ote_dir, args, threshold=0.1)
nncf_eval_testing(template, root, ote_dir, args, threshold=0.001)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
Expand Down
18 changes: 9 additions & 9 deletions tests/ote_cli/test_ote_cli_tools_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,38 +127,38 @@ def test_ote_hpo(self, template):
def test_nncf_optimize(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_optimize_testing(template, root, ote_dir, args)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_nncf_export(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_export_testing(template, root)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_nncf_eval(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")
nncf_eval_testing(template, root, ote_dir, args, threshold=0.1)

nncf_eval_testing(template, root, ote_dir, args, threshold=0.001)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_nncf_eval_openvino(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_eval_openvino_testing(template, root, ote_dir, args)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_pot_optimize(self, template):
pot_optimize_testing(template, root, ote_dir, args)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_pot_eval(self, template):
Expand Down
2 changes: 1 addition & 1 deletion tests/ote_cli/test_ote_cli_tools_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_nncf_eval(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_eval_testing(template, root, ote_dir, args, threshold=0.1)
nncf_eval_testing(template, root, ote_dir, args, threshold=0.001)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
Expand Down
2 changes: 1 addition & 1 deletion tests/ote_cli/test_ote_cli_tools_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_nncf_eval(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_eval_testing(template, root, ote_dir, args, threshold=0.1)
nncf_eval_testing(template, root, ote_dir, args, threshold=0.001)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
Expand Down
4 changes: 4 additions & 0 deletions tests/run_model_templates_tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
python3 -m venv venv || exit 1
. venv/bin/activate || exit 1
pip install --upgrade pip || exit 1

# pip cache purge
# ls -la `pip cache dir`/

pip install -e ote_cli || exit 1
pip install -e $OTE_SDK_PATH || exit 1
echo ""
Expand Down

0 comments on commit adc9621

Please sign in to comment.