Recently I downloaded CelebA dataset from this page. I want to apply some transformations to this data set:
To do it firstly let's define transformations:
from torchvision import transforms
from torchvision.datasets CelebA
celeba_transforms = transforms.Compose([
transforms.CenterCrop(130),
transforms.Resize([64, 64]),
transforms.ToTensor()
])
And now execute it:
CelebA(root='img_align_celeba',
split='train',
download=False,
transform=celeba_transforms)
However result of this code is an error:
Dataset not found or corrupted. You can use download=True to download it
Setting download=True is also not working. Could you please help me with applying those transformations to this data set?
