π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
fix identation issues
edgarriba0686798786aa
diff --git a/kornia/augmentation/augmentation.py b/kornia/augmentation/augmentation.pyindex ddaf96516..727d46348 100644--- a/kornia/augmentation/augmentation.py+++ b/kornia/augmentation/augmentation.py@@ -366,7 +366,7 @@ class CenterCrop(AugmentationBase):size_param = torch.tensor([size, size])else:raise Exception(f"Invalid size type. Expected (int, tuple(int, int). "- f"Got: {type(size)}.")+ f"Got: {type(size)}.")return dict(size=size_param)def forward(self, input: UnionType, params: Optional[Dict[str, torch.Tensor]] = None) -> UnionType: # type: ignore