Skip to content

Commit

Permalink
Skip tests for unsupported models: add check for DFine
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene123tw committed Jan 16, 2025
1 parent 0ea5296 commit 42d447d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integration/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ def test_otx_e2e(
if "dino" in model_name:
return # DINO is not supported.

if "dfine" in model_name:
return # DFine is not supported.

if "rtdetr" in model_name:
return # RT-DETR currently is not supported.

Expand Down Expand Up @@ -331,6 +334,9 @@ def test_otx_explain_e2e(
if "dino" in model_name:
pytest.skip("DINO is not supported.")

if "dfine" in model_name:
pytest.skip("DFine is not supported.")

if "maskrcnn_r50_tv" in model_name:
pytest.skip("MaskRCNN R50 Torchvision model doesn't support explain.")
elif "rtdetr" in recipe:
Expand Down

0 comments on commit 42d447d

Please sign in to comment.