Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Fixed typing

Jian S350bf8a68600
diff --git a/kornia/augmentation/augmentation.py b/kornia/augmentation/augmentation.py
index 694bd5104..b0bb278c2 100644
--- a/kornia/augmentation/augmentation.py
+++ b/kornia/augmentation/augmentation.py
@@ -549,5 +549,5 @@ class RandomResizedCrop(AugmentationBase):
else:
batch_shape = input.shape
params = RandomResizedCrop.get_params(
- batch_size, batch_shape[-2:], self.size, self.scale, self.ratio)
+ batch_size, batch_shape[-2:], self.size, self.scale, self.ratio) # type: ignore
return super().forward(input, params)