π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
torch.gesv -> torch.solve in get_perspective_transform
edgarriba70cccd9ea39a
diff --git a/torchgeometry/core/imgwarp.py b/torchgeometry/core/imgwarp.pyindex 6f62ae0d9..e0d0199f9 100644--- a/torchgeometry/core/imgwarp.py+++ b/torchgeometry/core/imgwarp.py@@ -259,7 +259,7 @@ def get_perspective_transform(src, dst):], dim=1)# solve the system Ax = b- X, LU = torch.gesv(b, A)+ X, LU = torch.solve(b, A)# create variable to returnbatch_size = src.shape[0]