"vscode:/vscode.git/clone" did not exist on "c1be49cb1e1aeca8bb4ec96e20a0b63159bc7738"
Unverified Commit 56397471 authored by amyeroberts's avatar amyeroberts Committed by GitHub
Browse files

Don't call deprecated method (#20904)

parent 52c9e6af
......@@ -430,7 +430,7 @@ class DonutImageProcessor(BaseImageProcessor):
images = [self.thumbnail(image=image, size=size) for image in images]
if do_pad:
images = [self.pad(image=image, size=size, random_padding=random_padding) for image in images]
images = [self.pad_image(image=image, size=size, random_padding=random_padding) for image in images]
if do_rescale:
images = [self.rescale(image=image, scale=rescale_factor) for image in images]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment