π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
remove squeeze in random_vflip
kshitij12345988ef17e9a88
diff --git a/kornia/augmentation/augmentations.py b/kornia/augmentation/augmentations.pyindex ed79ca19a..0ff7269da 100644--- a/kornia/augmentation/augmentations.py+++ b/kornia/augmentation/augmentations.py@@ -268,7 +268,6 @@ def random_vflip(input: torch.Tensor, p: float = 0.5, return_transform: bool = Fflipped: torch.Tensor = input.clone()flipped[to_flip] = vflip(input[to_flip])- flipped.squeeze_()if return_transform: