Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPError: HTTP Error 503: Service Unavailable #51

Open
jS5t3r opened this issue Mar 17, 2021 · 1 comment
Open

HTTPError: HTTP Error 503: Service Unavailable #51

jS5t3r opened this issue Mar 17, 2021 · 1 comment

Comments

@jS5t3r
Copy link

jS5t3r commented Mar 17, 2021

deeplearning-models/pytorch_ipynb/cnn/cnn-resnet50-mnist-dataparallel.ipynb

Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz to data/MNIST/raw/train-images-idx3-ubyte.gz
0it [00:00, ?it/s]
---------------------------------------------------------------------------
HTTPError                                 Traceback (most recent call last)
<ipython-input-4-38058be550e3> in <module>
      5 # Note transforms.ToTensor() scales input images
      6 # to 0-1 range
----> 7 train_dataset = datasets.MNIST(root='data', 
      8                                train=True,
      9                                transform=transforms.ToTensor(),

MNIST download not working...

@rasbt
Copy link
Owner

rasbt commented Mar 17, 2021

Yes, this happened to me to a couple of days ago. I think it's because the MNIST website is currently down: http://yann.lecun.com/exdb/mnist/

In your case train_dataset = datasets.MNIST(root='data', ...) will create a folder MNIST to save the dataset in a 'data' subfolder. Here is a zipped version of an MNIST folder that I still have locally. I you unzip it and put it there, it should work: https://github.com/rasbt/stat453-deep-learning-ss21/blob/main/MNIST.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants