|
25 | 25 | otx_eval_deployment_testing,
|
26 | 26 | otx_eval_openvino_testing,
|
27 | 27 | otx_eval_testing,
|
| 28 | + otx_explain_all_classes_openvino_testing, |
28 | 29 | otx_explain_openvino_testing,
|
| 30 | + otx_explain_process_saliency_maps_openvino_testing, |
29 | 31 | otx_explain_testing,
|
| 32 | + otx_explain_testing_all_classes, |
| 33 | + otx_explain_testing_process_saliency_maps, |
30 | 34 | otx_export_testing,
|
31 | 35 | otx_export_testing_w_features,
|
32 | 36 | otx_hpo_testing,
|
|
43 | 47 | "--val-data-roots": "tests/assets/car_tree_bug",
|
44 | 48 | "--test-data-roots": "tests/assets/car_tree_bug",
|
45 | 49 | "--input": "tests/assets/car_tree_bug/images/train",
|
46 |
| - "train_params": ["params", "--learning_parameters.num_iters", "5", "--learning_parameters.batch_size", "4"], |
| 50 | + "train_params": ["params", "--learning_parameters.num_iters", "10", "--learning_parameters.batch_size", "4"], |
47 | 51 | }
|
48 | 52 |
|
49 | 53 | # Class-Incremental learning w/ 'vehicle', 'person', 'non-vehicle' classes
|
@@ -152,14 +156,42 @@ def test_otx_eval_openvino(self, template, tmp_dir_path):
|
152 | 156 | @pytest.mark.parametrize("template", templates, ids=templates_ids)
|
153 | 157 | def test_otx_explain(self, template, tmp_dir_path):
|
154 | 158 | tmp_dir_path = tmp_dir_path / "detection"
|
155 |
| - otx_explain_testing(template, tmp_dir_path, otx_dir, args) |
| 159 | + otx_explain_testing(template, tmp_dir_path, otx_dir, args, trained=True) |
| 160 | + |
| 161 | + @e2e_pytest_component |
| 162 | + @pytest.mark.skipif(TT_STABILITY_TESTS, reason="This is TT_STABILITY_TESTS") |
| 163 | + @pytest.mark.parametrize("template", templates, ids=templates_ids) |
| 164 | + def test_otx_explain_all_classes(self, template, tmp_dir_path): |
| 165 | + tmp_dir_path = tmp_dir_path / "detection" |
| 166 | + otx_explain_testing_all_classes(template, tmp_dir_path, otx_dir, args) |
| 167 | + |
| 168 | + @e2e_pytest_component |
| 169 | + @pytest.mark.skipif(TT_STABILITY_TESTS, reason="This is TT_STABILITY_TESTS") |
| 170 | + @pytest.mark.parametrize("template", templates, ids=templates_ids) |
| 171 | + def test_otx_explain_process_saliency_maps(self, template, tmp_dir_path): |
| 172 | + tmp_dir_path = tmp_dir_path / "detection" |
| 173 | + otx_explain_testing_process_saliency_maps(template, tmp_dir_path, otx_dir, args, trained=True) |
156 | 174 |
|
157 | 175 | @e2e_pytest_component
|
158 | 176 | @pytest.mark.skipif(TT_STABILITY_TESTS, reason="This is TT_STABILITY_TESTS")
|
159 | 177 | @pytest.mark.parametrize("template", templates, ids=templates_ids)
|
160 | 178 | def test_otx_explain_openvino(self, template, tmp_dir_path):
|
161 | 179 | tmp_dir_path = tmp_dir_path / "detection"
|
162 |
| - otx_explain_openvino_testing(template, tmp_dir_path, otx_dir, args) |
| 180 | + otx_explain_openvino_testing(template, tmp_dir_path, otx_dir, args, trained=True) |
| 181 | + |
| 182 | + @e2e_pytest_component |
| 183 | + @pytest.mark.skipif(TT_STABILITY_TESTS, reason="This is TT_STABILITY_TESTS") |
| 184 | + @pytest.mark.parametrize("template", templates, ids=templates_ids) |
| 185 | + def test_otx_explain_all_classes_openvino(self, template, tmp_dir_path): |
| 186 | + tmp_dir_path = tmp_dir_path / "detection" |
| 187 | + otx_explain_all_classes_openvino_testing(template, tmp_dir_path, otx_dir, args) |
| 188 | + |
| 189 | + @e2e_pytest_component |
| 190 | + @pytest.mark.skipif(TT_STABILITY_TESTS, reason="This is TT_STABILITY_TESTS") |
| 191 | + @pytest.mark.parametrize("template", templates, ids=templates_ids) |
| 192 | + def test_otx_explain_process_saliency_maps_openvino(self, template, tmp_dir_path): |
| 193 | + tmp_dir_path = tmp_dir_path / "detection" |
| 194 | + otx_explain_process_saliency_maps_openvino_testing(template, tmp_dir_path, otx_dir, args, trained=True) |
163 | 195 |
|
164 | 196 | @e2e_pytest_component
|
165 | 197 | @pytest.mark.skipif(TT_STABILITY_TESTS, reason="This is TT_STABILITY_TESTS")
|
|
0 commit comments