From dffb118013931d1e7b7904062815f42271f1854d Mon Sep 17 00:00:00 2001 From: Cheery Date: Fri, 23 May 2025 21:02:58 +0100 Subject: [PATCH] Remove duplicate docstring: resample (#38305) Duplicate of the line above. --- src/transformers/models/dpt/image_processing_dpt.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/transformers/models/dpt/image_processing_dpt.py b/src/transformers/models/dpt/image_processing_dpt.py index a22548f5cd9..b948f9886e4 100644 --- a/src/transformers/models/dpt/image_processing_dpt.py +++ b/src/transformers/models/dpt/image_processing_dpt.py @@ -213,8 +213,6 @@ class DPTImageProcessor(BaseImageProcessor): resample (`PILImageResampling`, *optional*, defaults to `PILImageResampling.BICUBIC`): Defines the resampling filter to use if resizing the image. Otherwise, the image is resized to size specified in `size`. - resample (`PILImageResampling`, *optional*, defaults to `PILImageResampling.BICUBIC`): - Resampling filter to use when resiizing the image. data_format (`str` or `ChannelDimension`, *optional*): The channel dimension format of the image. If not provided, it will be the same as the input image. input_data_format (`str` or `ChannelDimension`, *optional*):