I'm working on EMNIST dataset and want to load it from PyTorch, but it returns a strange error as:
RuntimeError: File not found or corrupted.
Here's how i have tried to load the dataset:
trainset = torchvision.datasets.EMNIST(root="emnist",
split="letters",
train=True,
download=True,
transform=transforms.ToTensor())
What might be wrong?
I think the link is incorrect, try to download the dataset with that :
And then change your code with :