π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
test(models): bump timeout on remaining ONNX-export tests (#3784)
Edgar Riba68a4f19d0a7e
diff --git a/tests/models/test_dexined_onnx.py b/tests/models/test_dexined_onnx.pyindex 0c7bb2270..bab05d1e9 100644--- a/tests/models/test_dexined_onnx.py+++ b/tests/models/test_dexined_onnx.py@@ -20,6 +20,7 @@ import pytestfrom kornia.models.dexined import DexiNed[email protected](120)def test_dexined_to_onnx(tmp_path):"""Ensure `DexiNed.to_onnx` exports a valid ONNX model and saves the file."""onnx = pytest.importorskip("onnx")diff --git a/tests/models/test_object_detector.py b/tests/models/test_object_detector.pyindex 76f1402f9..0d7f0dbcf 100644--- a/tests/models/test_object_detector.py+++ b/tests/models/test_object_detector.py@@ -52,6 +52,7 @@ class TestObjectDetector(BaseTester):assert torch.all(dets[:, 1] >= 0.3)@pytest.mark.slow+ @pytest.mark.timeout(120)@pytest.mark.skipif(torch_version_lt(2, 0, 0), reason="Unsupported ONNX opset version: 16")@pytest.mark.parametrize("variant", ("resnet50d", "hgnetv2_l"))def test_onnx(self, device, dtype, tmp_path: Path, variant: str):