Unfortunately, this seems to be an issue again. For me, this happens when I try to download MNIST:
train_dataset = datasets.MNIST(root='data', 
                               train=True, 
                               transform=None,
                               download=True)

Tried on both macOS and Ubuntu. I am wondering if this is due to some redirect because visiting the lecun’s mnist website and then downloading it manually works.