Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update e2e test scope #3403

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions tests/e2e/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def test_otx_e2e_cli(
task = recipe.split("/")[-2]
model_name = recipe.split("/")[-1].split(".")[0]

if task == OTXTaskType.ACTION_DETECTION:
pytest.xfail("Fix for action detection issue will be low priority. Refer to issue #3267.")

# 1) otx train
tmp_path_train = tmp_path / f"otx_train_{model_name}"
command_cfg = [
Expand Down Expand Up @@ -273,9 +276,6 @@ def test_otx_explain_e2e_cli(
Returns:
None
"""
if "tile" in recipe:
pytest.skip("Explain is not supported for tiling yet.")

import cv2

task = recipe.split("/")[-2]
Expand Down Expand Up @@ -405,6 +405,10 @@ def test_otx_ov_test_cli(
# TODO(Kirill): Need to change this test when export enabled
pytest.skip("OMZ doesn't have proper model for these types of tasks.")

pytest.xfail(
"ValueError: To launch a test pipeline w/ OMZ, the label information should be same between the training and testing datasets.",
)

# otx test
tmp_path_test = tmp_path / f"otx_test_{task}_{model_name}"
command_cfg = [
Expand Down Expand Up @@ -457,6 +461,8 @@ def test_otx_hpo_e2e_cli(
pytest.skip(f"Task {task} is not supported in the auto-configuration.")
if task == OTXTaskType.ZERO_SHOT_VISUAL_PROMPTING:
pytest.skip("ZERO_SHOT_VISUAL_PROMPTING doesn't support HPO.")
if task == OTXTaskType.ACTION_DETECTION:
pytest.xfail("Fix for action detection issue will be low priority. Refer to issue #3267.")

# Need to change model to stfpm because default anomaly model is 'padim' which doesn't support HPO
model_cfg = []
Expand Down
Loading