π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
fixed useless return in ransac.py (#1352)
nvshubhsharma4bcbd591a2d2
diff --git a/kornia/geometry/ransac.py b/kornia/geometry/ransac.pyindex 0e24c1713..1475beead 100644--- a/kornia/geometry/ransac.py+++ b/kornia/geometry/ransac.py@@ -64,7 +64,6 @@ class RANSAC(nn.Module):self.polisher_solver = find_fundamental # type: ignoreelse:raise NotImplementedError(f"{model_type} is unknown. Try one of {self.supported_models}")- returndef sample(self,sample_size: int,