Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

mark test_inference #277

Draft
wants to merge 1 commit into
base: ote
Choose a base branch
from
Draft
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
2 changes: 2 additions & 0 deletions tests/test_ote_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import os.path as osp
import torch
import unittest
import pytest
from ote_sdk.test_suite.e2e_test_system import e2e_pytest_api
from mmcv.parallel import MMDataParallel
from subprocess import run
Expand Down Expand Up @@ -98,6 +99,7 @@ def setUpClass(cls):
f'annotations/instances_val2017_short_to_{cls.shorten_to}.json')
cls.shorten_annotation(cls.src_anno, cls.dst_anno, cls.shorten_to)

@pytest.mark.bugs("CVS-74364 - [OTE] mmdetection test_ote_inference.py::TestInference::test_inference faild when running on cpu")
@e2e_pytest_api
def test_inference(self):
for cfg, device in itertools.product(MODEL_CONFIGS, DEVICES):
Expand Down