Cannot download model
Hello,
I'm not able to download any pre-trained mode. Neither from https://github.com/tensorflow/hub/blob/master/docs/modules/image.md nor using retrain.py script. Is there some network issue?
Hi Pawel,
Can you try running the command:
wget 'https://tfhub.dev/google/nnlm-en-dim128/1?tf-hub-format=compressed' -O /tmp/module.tar.gz
and see if the download works?
Hi, Thank you for respond. I tried the command but it doesn't work. The problem is my network not tensor-flow hub because if I connect using connection from my phone it works. This is a bit strange because I don't have any proxy or anything and this is the very first case I cannot download something...
Thanks for your analysis. If it's not caused by TensorFlow Hub, and does not affect many users, please allow me to close this issue.
I did have the same problem and it wasn't connected with TensorFlow Hub, but let me post my solution here for other people experiencing something similar.
I use Pow with .dev top level domain, that I configured before it was broadly used on the internet. So I thought that may cause the problem. First I verified that indeed the domain is resolved to my localhost:
> ping tfhub.dev
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.061 ms
Then I read about Pow TLD configuration and found that all I have to do is to remove dev resolver:
sudo rm /etc/resolver/dev
And now it works. Hope it helps someone. 😄