π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
make mypy happy
kshitij123451f6b2e2d16a2
diff --git a/kornia/augmentation/augmentations.py b/kornia/augmentation/augmentations.pyindex 82c4cb97b..ed79ca19a 100644--- a/kornia/augmentation/augmentations.py+++ b/kornia/augmentation/augmentations.py@@ -88,7 +88,7 @@ class RandomHorizontalFlip(RandomFlip):self.p = pself.return_transform = return_transform- def forward(self, input: UnionType) -> UnionType:+ def forward(self, input: UnionType) -> UnionType: # type: ignorereturn self.forward_flip(input, random_hflip)@@ -128,7 +128,7 @@ class RandomVerticalFlip(RandomFlip):self.p = pself.return_transform = return_transform- def forward(self, input: UnionType) -> UnionType:+ def forward(self, input: UnionType) -> UnionType: # type: ignorereturn self.forward_flip(input, random_vflip)