使用代理在python中下载MNIST

时间:2019-06-06 09:09:50

标签: python proxy jupyter-notebook python-3.6 mnist

我收到错误消息:

Exception: URL fetch failure on https://s3.amazonaws.com/img-datasets/mnist.npz: None -- [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

当尝试使用命令mnist.load_data()时。

我正在使用工作代理,因此,当我在浏览器中导航到https://s3.amazonaws.com/img-datasets/mnist.npz URL时,它将起作用。

是否可以通过代理使mnist.load在Python中工作?

谢谢。

0 个答案:

没有答案