"...text-generation-inference.git" did not exist on "5a65066922ce28dbc202dc03bb2410da14b980d2"
Commit b3a7cf67 authored by ekka's avatar ekka Committed by Soumith Chintala
Browse files

Flake fix (#795)

parent 8257aff5
...@@ -397,7 +397,7 @@ class RandomCrop(object): ...@@ -397,7 +397,7 @@ class RandomCrop(object):
respectively. If a sequence of length 2 is provided, it is used to respectively. If a sequence of length 2 is provided, it is used to
pad left/right, top/bottom borders, respectively. pad left/right, top/bottom borders, respectively.
pad_if_needed (boolean): It will pad the image if smaller than the pad_if_needed (boolean): It will pad the image if smaller than the
desired size to avoid raising an exception. Since cropping is done desired size to avoid raising an exception. Since cropping is done
after padding, the padding seems to be done at a random offset. after padding, the padding seems to be done at a random offset.
fill: Pixel fill value for constant fill. Default is 0. If a tuple of fill: Pixel fill value for constant fill. Default is 0. If a tuple of
length 3, it is used to fill R, G, B channels respectively. length 3, it is used to fill R, G, B channels respectively.
......
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