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)
Wenn Sie dies tun, wird MNIST aus Keras (tf.keras.datasets, keras.datasets) herausgezogen.
Recommended Posts