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

数据集网址问题 #5

Open
aaskk opened this issue Aug 18, 2021 · 0 comments
Open

数据集网址问题 #5

aaskk opened this issue Aug 18, 2021 · 0 comments

Comments

@aaskk
Copy link
Collaborator

aaskk commented Aug 18, 2021

直接运行python run.py

Downloading http://yann.lecun.com/exdb/mnist/https://ossci-datasets.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz
Failed to download (trying next):
HTTP Error 503: Service Unavailable

Downloading https://ossci-datasets.s3.amazonaws.com/mnist/https://ossci-datasets.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz
Failed to download (trying next):
HTTP Error 404: Not Found
…………
…………
最后报
RuntimeError: Error downloading https://ossci-datasets.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz

注意到问题是下载网址问题,自动将两个网址拼接起来了,导致网址错误。

操作系统:win10,linux均有此问题

解决方法:自行访问数据集的网址https://ossci-datasets.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz
并将数据集放于如图路径
image
再将datamodules.init.py里的所有内容注释掉,即可。不确定将__init__.py注释掉的其他后果。
image

marsggbo pushed a commit that referenced this issue Nov 4, 2021
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

1 participant