Skip to content

Commit

Permalink
address review comment - 007
Browse files Browse the repository at this point in the history
  • Loading branch information
ydshieh committed Sep 18, 2023
1 parent 9948931 commit b4fe493
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/models/kosmos2/image_processing_kosmos2.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ class Kosmos2ImageProcessor(BaseImageProcessor):
Mean to use if normalizing the image. This is a float or list of floats the length of the number of
channels in the image. Can be overridden by the `image_mean` parameter in the `preprocess` method.
image_std (`float` or `List[float]`, *optional*, defaults to `[0.26862954, 0.26130258, 0.27577711]`):
Image standard deviation.
do_convert_rgb (`bool`, *optional*, defaults to `True`):
Standard deviation to use if normalizing the image. This is a float or list of floats the length of the
number of channels in the image. Can be overridden by the `image_std` parameter in the `preprocess` method.
do_convert_rgb (`bool`, *optional*, defaults to `True`):
Whether to convert the image to RGB.
"""

model_input_names = ["pixel_values"]
Expand Down

0 comments on commit b4fe493

Please sign in to comment.