diff --git a/albumentations/augmentations/geometric/transforms.py b/albumentations/augmentations/geometric/transforms.py index 4a021d21f..75e31ce6f 100644 --- a/albumentations/augmentations/geometric/transforms.py +++ b/albumentations/augmentations/geometric/transforms.py @@ -1475,7 +1475,6 @@ def get_params_dependent_on_data( data: dict[str, Any], ) -> dict[str, Any]: image_shape = params["shape"][:2] - height, width = image_shape # Get distortion coefficient k = self.py_random.uniform(*self.distort_limit)