import torchvision.transforms as transforms
transform=transforms.Compose([transforms.Resize(100),
transforms.ToTensor()
])
And i’m getting following error :
AttributeError: ‘module’ object has no attribute 'Resize’
Installed torch-1.0.1.post2 torchvision-0.2.1