From 7b192defd452dd464b777c2e8736c423f5d9830a Mon Sep 17 00:00:00 2001 From: Vladimir Iglovikov Date: Fri, 17 Jan 2025 12:31:19 -0800 Subject: [PATCH] Fix in GaussBlur --- albumentations/augmentations/blur/transforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/albumentations/augmentations/blur/transforms.py b/albumentations/augmentations/blur/transforms.py index bc802d755..7a23299ee 100644 --- a/albumentations/augmentations/blur/transforms.py +++ b/albumentations/augmentations/blur/transforms.py @@ -379,7 +379,7 @@ class GaussianBlur(ImageOnlyTransform): - If a tuple of two ints is provided, it defines the inclusive range of possible kernel sizes. Must be zero or odd and in range [0, inf). If set to 0 (default), the kernel size - will be computed from sigma as `int(6 * sigma + 1)` and adjusted to be odd if needed. + will be computed from sigma as `int(4 * sigma + 1)` and adjusted to be odd if needed. Default: 0