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

Downloading MNIST dataset with torchvision gives HTTP Error 503 #3549

Closed
omarfoq opened this issue Mar 11, 2021 · 7 comments
Closed

Downloading MNIST dataset with torchvision gives HTTP Error 503 #3549

omarfoq opened this issue Mar 11, 2021 · 7 comments

Comments

@omarfoq
Copy link

omarfoq commented Mar 11, 2021

🐛 Bug

I am getting a 503 error when I try to download MNIST dataset with torchvision 0.9.0.
This is probably due to the fact that http://yann.lecun.com/exdb/mnist/ is unavailable, so apart from pproviding a new link to the dataset, I don't see how this problem can be solved

To Reproduce

Steps to reproduce the behavior:

from torchvision.datasets import MNIST

MNIST(".", download=True)

cc @pmeier

@baijumeswani
Copy link

baijumeswani commented Mar 11, 2021

It appears that http://yann.lecun.com/exdb/mnist/ is unavailable at this time. A temporary solution before downloading MNIST:

from torchvision import datasets
datasets.MNIST.resources = [
            ('https://ossci-datasets.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz', 'f68b3c2dcbeaaa9fbdd348bbdeb94873'),
            ('https://ossci-datasets.s3.amazonaws.com/mnist/train-labels-idx1-ubyte.gz', 'd53e105ee54ea40749a09fcbcd1e9432'),
            ('https://ossci-datasets.s3.amazonaws.com/mnist/t10k-images-idx3-ubyte.gz', '9fb629c4189551a2d022fa330f9573f3'),
            ('https://ossci-datasets.s3.amazonaws.com/mnist/t10k-labels-idx1-ubyte.gz', 'ec29112dd5afa0611ce80d1b7f02629c')
        ]

@madhavajay
Copy link

image

@pmeier
Copy link
Collaborator

pmeier commented Mar 12, 2021

This should be fixed in #3544. We will release torchvision==0.9.1 soon to get this in a release

@ghazpar
Copy link

ghazpar commented Mar 13, 2021

So when can we expect the release of 0.9.1 ?

@fmassa
Copy link
Member

fmassa commented Mar 15, 2021

The release of 0.9.1 is expected to be out in around 10 days

This was referenced Mar 15, 2021
@ghazpar
Copy link

ghazpar commented Mar 15, 2021

Ok, good to know.

But given that the unavailability of the MNIST database will break existing codes, I would have expected an earlier release?

Just my 2c.

@fmassa
Copy link
Member

fmassa commented Mar 29, 2021

FYI we've released torchvision 0.9.1 a few days ago https://github.com/pytorch/vision/releases/tag/v0.9.1

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

No branches or pull requests

7 participants