alimottaghi / adversarial-representation-active-learning

Adversarial Representation Active Learning
18 stars 3 forks source link

Downloading without internet #2

Open manza-ari opened 4 years ago

manza-ari commented 4 years ago

Hi, Thank you so much for sharing your code.

I am implementing your project. On the server, the internet is disabled for security reasons, how can I resolve the downloading issue for this project on my personal desktop?

Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz

I have also tried by downloading the dataset on my personal computer and copy files on the server.

alimottaghi commented 4 years ago

Thank you so much for your interest. You can use the following zip file by extracting it into the data folder inside the root directory: data.zip

I hope this helps! Also, feel to reach out if you have any questions or concerns.

manza-ari commented 4 years ago

how to disable this line+ Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz

manza-ari commented 4 years ago

Screenshot from 2020-03-16 13-23-29

alimottaghi commented 4 years ago

Pytorch will not download the dataset again if it finds it in the right place. But you can disable downloading in data.py file lines 66-67, 90-91, and 122-123.

Please make sure that the data is located at yourdata_root folder. It is defined in the config.py file.

manza-ari commented 4 years ago

yes, you are right, I don't know why it cannot find the data set, though I have checked the directory again and again.

Thank you so much for your detail response.