Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Quick fix (#576)

Guillermo González de Garibay711be3f29f53
diff --git a/kornia/augmentation/augmentation.py b/kornia/augmentation/augmentation.py
index 59a5e7e0d..ca855d477 100644
--- a/kornia/augmentation/augmentation.py
+++ b/kornia/augmentation/augmentation.py
@@ -666,7 +666,7 @@ class RandomResizedCrop(AugmentationBase):
def __init__(
self, size: Tuple[int, int], scale: Tuple[float, float] = (0.08, 1.0),
- ratio: Tuple[float, float] = (1.75, 4. / 3.),
+ ratio: Tuple[float, float] = (3. / 4., 4. / 3.),
interpolation: Union[str, int, Resample] = Resample.BILINEAR.name,
return_transform: bool = False, same_on_batch: bool = False,
align_corners: bool = False