From 9ae694b793c20528e2252dd6feb99257e60c78e8 Mon Sep 17 00:00:00 2001 From: Vladimir Iglovikov Date: Tue, 7 Jan 2025 12:12:40 -0800 Subject: [PATCH] Cleanup --- albumentations/augmentations/geometric/transforms.py | 1 - 1 file changed, 1 deletion(-) 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)