You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Scale transform was commonly used to resize an image, and it has been replaced by the Resize transform in newer versions of torchvision. Just search in the spatial_transforms.py file for the Scale class and replace it with Resize.
line 46 in spatial_transforms.py doesn't work, since transforms.Scale has been renamed to transforms.Resize.
The text was updated successfully, but these errors were encountered: