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)
Si vous faites cela, MNIST sera extrait de keras (tf.keras.datasets, keras.datasets).
Recommended Posts