From d4b59cd89227dec1d94cdbb68682e168f876b877 Mon Sep 17 00:00:00 2001 From: zhc7 Date: Fri, 8 Dec 2023 14:01:16 +0800 Subject: [PATCH] fix typo in image_processing_blip.py Wwhether -> Whether --- src/transformers/models/blip/image_processing_blip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/models/blip/image_processing_blip.py b/src/transformers/models/blip/image_processing_blip.py index fd8873cb7a45c8..d915c5e48b3f56 100644 --- a/src/transformers/models/blip/image_processing_blip.py +++ b/src/transformers/models/blip/image_processing_blip.py @@ -57,7 +57,7 @@ class BlipImageProcessor(BaseImageProcessor): Resampling filter to use if resizing the image. Only has an effect if `do_resize` is set to `True`. Can be overridden by the `resample` parameter in the `preprocess` method. do_rescale (`bool`, *optional*, defaults to `True`): - Wwhether to rescale the image by the specified scale `rescale_factor`. Can be overridden by the + Whether to rescale the image by the specified scale `rescale_factor`. Can be overridden by the `do_rescale` parameter in the `preprocess` method. rescale_factor (`int` or `float`, *optional*, defaults to `1/255`): Scale factor to use if rescaling the image. Only has an effect if `do_rescale` is set to `True`. Can be