Hi, I would like to train a net with images of different resolutions (from cifar10).  My strategy was the following :

download the cifar dataset with resolution = 224, with

transform = transforms.Compose([transforms.Resize(size=(224, 224)), transforms.ToTensor(),
    transforms.Normalize((0.5,), (0.5,))])

trainset = torchvision.datasets.CIFAR10(root= path, train=True, transform=transform, download=True)


then from this trainset, get a dataloader with images of the desired resolution, by downsampling.

I don’t know how to do this… As I’m going to work with different resolutions, I do not want to download the cifar dataset every time.