Skip to content

Commit e8d24d0

Browse files
authored
Merge pull request #939 from openvinotoolkit/ik/hotfix
nncf_eval_testing fix
2 parents 70bd630 + 6d9d042 commit e8d24d0

6 files changed

+17
-13
lines changed

external/deep-object-reid

tests/ote_cli/test_ote_cli_tools_anomaly_classification.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def test_nncf_eval(self, template):
132132
if template.entrypoints.nncf is None:
133133
pytest.skip("nncf entrypoint is none")
134134

135-
nncf_eval_testing(template, root, ote_dir, args, threshold=0.1)
135+
nncf_eval_testing(template, root, ote_dir, args, threshold=0.001)
136136

137137
@e2e_pytest_component
138138
@pytest.mark.parametrize("template", templates, ids=templates_ids)

tests/ote_cli/test_ote_cli_tools_classification.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -127,38 +127,38 @@ def test_ote_hpo(self, template):
127127
def test_nncf_optimize(self, template):
128128
if template.entrypoints.nncf is None:
129129
pytest.skip("nncf entrypoint is none")
130-
130+
131131
nncf_optimize_testing(template, root, ote_dir, args)
132-
132+
133133
@e2e_pytest_component
134134
@pytest.mark.parametrize("template", templates, ids=templates_ids)
135135
def test_nncf_export(self, template):
136136
if template.entrypoints.nncf is None:
137137
pytest.skip("nncf entrypoint is none")
138-
138+
139139
nncf_export_testing(template, root)
140-
140+
141141
@e2e_pytest_component
142142
@pytest.mark.parametrize("template", templates, ids=templates_ids)
143143
def test_nncf_eval(self, template):
144144
if template.entrypoints.nncf is None:
145145
pytest.skip("nncf entrypoint is none")
146-
147-
nncf_eval_testing(template, root, ote_dir, args, threshold=0.1)
146+
147+
nncf_eval_testing(template, root, ote_dir, args, threshold=0.001)
148148

149149
@e2e_pytest_component
150150
@pytest.mark.parametrize("template", templates, ids=templates_ids)
151151
def test_nncf_eval_openvino(self, template):
152152
if template.entrypoints.nncf is None:
153153
pytest.skip("nncf entrypoint is none")
154-
154+
155155
nncf_eval_openvino_testing(template, root, ote_dir, args)
156-
156+
157157
@e2e_pytest_component
158158
@pytest.mark.parametrize("template", templates, ids=templates_ids)
159159
def test_pot_optimize(self, template):
160160
pot_optimize_testing(template, root, ote_dir, args)
161-
161+
162162
@e2e_pytest_component
163163
@pytest.mark.parametrize("template", templates, ids=templates_ids)
164164
def test_pot_eval(self, template):

tests/ote_cli/test_ote_cli_tools_detection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_nncf_eval(self, template):
146146
if template.entrypoints.nncf is None:
147147
pytest.skip("nncf entrypoint is none")
148148

149-
nncf_eval_testing(template, root, ote_dir, args, threshold=0.1)
149+
nncf_eval_testing(template, root, ote_dir, args, threshold=0.001)
150150

151151
@e2e_pytest_component
152152
@pytest.mark.parametrize("template", templates, ids=templates_ids)

tests/ote_cli/test_ote_cli_tools_segmentation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def test_nncf_eval(self, template):
141141
if template.entrypoints.nncf is None:
142142
pytest.skip("nncf entrypoint is none")
143143

144-
nncf_eval_testing(template, root, ote_dir, args, threshold=0.1)
144+
nncf_eval_testing(template, root, ote_dir, args, threshold=0.001)
145145

146146
@e2e_pytest_component
147147
@pytest.mark.parametrize("template", templates, ids=templates_ids)

tests/run_model_templates_tests.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
python3 -m venv venv || exit 1
22
. venv/bin/activate || exit 1
33
pip install --upgrade pip || exit 1
4+
5+
# pip cache purge
6+
# ls -la `pip cache dir`/
7+
48
pip install -e ote_cli || exit 1
59
pip install -e $OTE_SDK_PATH || exit 1
610
echo ""

0 commit comments

Comments
 (0)