π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
added tests
Varun Sai3dc9442b7fa6
diff --git a/tests/feature/test_lightglue_onnx.py b/tests/feature/test_lightglue_onnx.pyindex e26eefbe4..5d5bc61cb 100644--- a/tests/feature/test_lightglue_onnx.py+++ b/tests/feature/test_lightglue_onnx.py@@ -65,6 +65,8 @@ class TestOnnxLightGlue:assert "matches" in outputsassert "scores" in outputs+ assert outputs["matches"].device.type == model.device.type+ assert outputs["scores"].device.type == model.device.typedef test_normalize_keypoints(self):kpts = torch.randint(0, 100, (1, 5, 2))