-
Notifications
You must be signed in to change notification settings - Fork 13
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 fails due to Cloudflare protection #63
Comments
We could potentially also just update torchvision as I at least had issues with these fixes. So we should investigate if that would cause issues within the SGD benchmark. |
I am currently investigating this bug and there are three things that bother me:
I get the feeling that you are getting blocked if you are trying to download it too often. Maybe we should make sure that in our test environment the file is cached over multiple runs.
|
I tried both solutions and torch (which is supposed to work with the current version according to their GitHub issues), so I think trying to cache it would be best. Everything else seems like a lot of trouble that's very hard to debug. |
Apparently, it has only been fixed in the nightly build but will be incorporated in the next minor release (See Pytorch Issue 3549. I added a hotfix for now. |
#63 This will be fixed in the next release of torch vision.
Automatically downloading MNIST currently fails (HTTP Error 403) as Cloudflare blocks requests using the default urllib headers.
Issue & solution:
https://stackoverflow.com/questions/60548000/getting-http-error-403-forbidden-error-when-download-mnist-dataset
The text was updated successfully, but these errors were encountered: