deeplearning-models icon indicating copy to clipboard operation
deeplearning-models copied to clipboard

HTTPError: HTTP Error 503: Service Unavailable

Open jS5t3r opened this issue 4 years ago • 1 comments

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...

jS5t3r avatar Mar 17 '21 13:03 jS5t3r

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

rasbt avatar Mar 17 '21 14:03 rasbt