What is the difference between torchvision.transforms.Resize() and torchvision.transforms.Scale()

What is the difference between torchvision.transforms.Resize() and torchvision.transforms.Scale()

4 Likes

Use doc: http://pytorch.org/docs/master/torchvision/transforms.html#torchvision.transforms.Scale

Both are the same. The recent release of torchvision deprecates Scale in favour of Resize.

6 Likes