Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
94c76538
Unverified
Commit
94c76538
authored
Dec 09, 2023
by
zhc7
Committed by
GitHub
Dec 08, 2023
Browse files
fix typo in image_processing_blip.py Wwhether -> Whether (#27899)
parent
d6c3a3f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/blip/image_processing_blip.py
src/transformers/models/blip/image_processing_blip.py
+1
-1
No files found.
src/transformers/models/blip/image_processing_blip.py
View file @
94c76538
...
...
@@ -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`):
W
w
hether 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment