train_data, test_data = utils.load_data_fashion_mnist(batch_size) 该代码运行时fashion_mnist数据集下载不下来,并报错SSLError: EOF occurred in violation of protocol (_ssl.c:748)
卡了很久了 从该课程一开始就出现这个问题 希望有大神帮助解决:sweat_smile:
试试下面?
http://zh.gluon.ai/chapter_prerequisite/install.html
第五步(可选项),如果你是国内用户,建议使用国内Gluon镜像加速数据集和预训练模型的下载。Linux/macOS用户可以运行下面命令。
MXNET_GLUON_REPO=https://apache-mxnet.s3.cn-north-1.amazonaws.com.cn/ jupyter notebook
Windows用户可以运行下面命令。
set MXNET_GLUON_REPO=https://apache-mxnet.s3.cn-north-1.amazonaws.com.cn/ jupyter notebook
还是不行
看上去好像是requests出了问题,
先pip uninstall requests,然后按照
http://zh.gluon.ai/chapter_prerequisite/install.html
中的步骤重新安装一次试试?
如果不work,再试着
pip install ndg-httpsclient
pip install pyopenssl
pip install pyasn1
直接翻墙看看能不能访问github
国内window用户在jupyter notebook运行前,也设置了镜像
set MXNET_GLUON_REPO=https://apache-mxnet.s3.cn-north-1.amazonaws.com.cn/ jupyter notebook
还是无法下载数据。。好难过呀
应该是网络原因,下载网址已经给出来了,你可以试试用浏览器或者下载工具下载