We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b84eb commit 9c73348Copy full SHA for 9c73348
tests/test_ml_funcs.py
@@ -4,6 +4,7 @@
4
from .common import upload_project
5
import pytest
6
7
+
8
sa.init(Path.home() / ".superannotate" / "config.json")
9
PROJECT_NAME_VECTOR = 'ML Functionality Test Vector'
10
PROJECT_NAME_PIXEL = 'ML Functionality Test Pixel'
@@ -13,6 +14,10 @@
13
14
15
MODEL_NAME = 'Instance segmentation (trained on COCO)'
16
17
+@pytest.mark.skipif(
18
+ "SA_STRESS_TESTS" not in os.environ,
19
+ reason="Requires env variable to be set"
20
+)
21
def test_run_prediction():
22
23
upload_project(
@@ -51,6 +56,10 @@ def test_run_prediction():
51
56
52
57
53
58
59
60
61
62
54
63
def test_run_segmentation():
55
64
65
model_auto = 'autonomous'
0 commit comments