urllib3==1.25.10 python==3.7.9
import urllib.request
proxy_set = urllib.request.ProxyHandler({'http' : 'http://123.11.111.111:0000',
'https': 'https://123.11.111.111:0000'})
opener = urllib.request.build_opener(proxy_set)
prox = urllib.request.build_opener()
urllib.request.install_opener(prox)
If you do this, MNIST will be pulled out of keras (tf.keras.datasets, keras.datasets).
Recommended Posts