Hi!
So when trying Scale with a tuple I get a weird error (see the following) while when I’m inputting an int it works fine. Why?!
Here’s what’s happening:
(Pdb) t1=transforms.Scale((5,5))
(Pdb) t2=transforms.Scale(5)
(Pdb) image
<PIL.Image.Image image mode=RGB size=816x816 at 0x7F49A6BA6668>
(Pdb) t1(image)
*** TypeError: unsupported operand type(s) for /: ‘tuple’ and ‘int’
(Pdb) t2(image)
<PIL.Image.Image image mode=RGB size=5x5 at 0x7F49A6B61780>
Thanks in advance guys!