RuntimeError: Dataset not found. You can use download=True to download it

I was trying to download the MNIST dataset by the boilerplate code given on PyTorch official site. But first it gave Error 110: Connection Timed out.
Then I manually downloaded the dataset from the mnist site. stored it in the appropriate folder. Then I set to download=False in my code and ran it.

It gives the error:
RuntimeError: Dataset not found. You can use download=True to download it

It checks in the processed folder, which is why it says dataset not found.
You can process yourself it like this:

2 Likes