Can't load dataset using dataloader

Hi

I am trying to run a repository: https://github.com/fungtion/DANN

I downloaded the mnist files but still get an error: is this some issue with the dataloader? How to solve it?

Traceback (most recent call last):
File “main.py”, line 42, in
transform=img_transform,
File “/home/rafael/anaconda3/envs/py27/lib/python2.7/site-packages/torchvision/datasets/mnist.py”, line 50, in init
’ You can use download=True to download it’)
RuntimeError: Dataset not found. You can use download=True to download it

add download=True to line 42 in main.py which is in the train folder. The error message is telling you this.

but i have a mnist folder in the path

Do you have the /processed/training.pt and /processed/test.pt files in your mnist folder? Are you passing the correct folder in the path argument?