From 4305210fc222c07603763eb938d445bef4d9205d Mon Sep 17 00:00:00 2001 From: Zhicheng <58725154+boss-yang702@users.noreply.github.com> Date: Wed, 10 Dec 2025 17:18:21 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BD=8D=E7=BD=AE=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E6=9C=AA=E6=AD=A3=E7=A1=AE=E4=BC=A0=E9=80=92=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- training/dataset/albu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training/dataset/albu.py b/training/dataset/albu.py index 2bd8f3a..81feb0f 100644 --- a/training/dataset/albu.py +++ b/training/dataset/albu.py @@ -26,7 +26,7 @@ def isotropically_resize_image(img, size, interpolation_down=cv2.INTER_AREA, int class IsotropicResize(DualTransform): def __init__(self, max_side, interpolation_down=cv2.INTER_AREA, interpolation_up=cv2.INTER_CUBIC, always_apply=False, p=1): - super(IsotropicResize, self).__init__(always_apply, p) + super(IsotropicResize, self).__init__(p) self.max_side = max_side self.interpolation_down = interpolation_down self.interpolation_up = interpolation_up