Hello everyone,
I’m working with ImageFolder. When I looked at the doc in my jupyter (Shift + Tab), I saw the following:
Init signature: T.Scale(size, interpolation=2)
Docstring:
Rescales the input PIL.Image to the given 'size'.
'size' will be the size of the smaller edge.
For example, if height > width, then image will be
rescaled to (size * height / width, size)
size: size of the smaller edge
interpolation: Default: PIL.Image.BILINEAR
So my question: Is there another way to set the new size with width=height like (224, 224) for example without using the github last version because I’ve noticed the online doc of Scale mentions the first argument, size can be a sequence.
Thank you.