A dataset was loaded by
trainset = torchvision.datasets.CIFAR10(root=’./data’, train=True,
download=True, transform=transform)
but I would like to load the data from the local memory on my PC after downloading it once.
How should I modify the code to read the dataset that has been already downloaded?
Thank you for your response.
It worked by using download = False as you say:
train_dataset = MNIST(’./data’, download = False, transform = img_transform)