I tried to retrain Google’s Inception as described here. I failed since I use a proxy what has not been considered when implementing the retrain.py script.
So what I did to solve it is to find the following line in the script:
filepath, _ = urllib.request.urlretrieve(DATA_URL, filepath, _progress) |
… and add the following code above the line:
proxy = urllib.request.ProxyHandler({'http': r'http://user:password@proxy.domain.de:8080'}) auth = urllib.request.HTTPBasicAuthHandler() opener = urllib.request.build_opener(proxy, auth, urllib.request.HTTPHandler) urllib.request.install_opener(opener) |
Now tensorflow can download the required files.