Unverified Commit 94c76538 authored by zhc7's avatar zhc7 Committed by GitHub
Browse files

fix typo in image_processing_blip.py Wwhether -> Whether (#27899)

parent d6c3a3f1
...@@ -57,7 +57,7 @@ class BlipImageProcessor(BaseImageProcessor): ...@@ -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 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. overridden by the `resample` parameter in the `preprocess` method.
do_rescale (`bool`, *optional*, defaults to `True`): 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. `do_rescale` parameter in the `preprocess` method.
rescale_factor (`int` or `float`, *optional*, defaults to `1/255`): 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 Scale factor to use if rescaling the image. Only has an effect if `do_rescale` is set to `True`. Can be
......
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