Open jmzhang18 opened 6 years ago
For Windows, you might want to add this: download_url = os.path.join(url, filename).replace('\','/')
due to the os.path.join issues
For Windows, you might want to add this: download_url = os.path.join(url, filename).replace('\','/')
due to the os.path.join issues
\
is an escape character so it's better to use:
download_url = os.path.join(url, filename).replace('\\', '/')
I used Jupyter-Notebook to download mnist dataset with following code: mnist_folder = 'data/mnist' utils.download_mnist(mnist_folder)
This will cause 404 Not found issue.
In utils.py: download_mnist(path):
change: url = 'http://yann.lecun.com/exdb/mnist'
to
url = 'http://yann.lecun.com/exdb/mnist/'
just add "/" at the end, will solve my problem