Why yes, I did used to do PHP development, but what does that have to do with TensorFlow Hub not working on my machine?

That’s why you’re here.You’re sad, becauseTensorFlow Hub is a library for reusable machine learning modulesand that sounds awesome, and you just want to embed some damn sentences, not average word embeddings like a savage..But you can’t, because when you try it says it can’t connect..Want to confirm that it’s messed up settings on your machine?.https://tfhub.dev/ is a website that works:See?If you can’t see that page, here’s how to fix your machine.Curse PHP in the name of whatever deity speaks to youCheck /etc/hosts and /private/etc/hosts for .dev — if you find it, remove that/those line(s)Check /usr/local/etc/dnsmasq/confFind a link to a different file, ~/.valet/dnsmasq.conf, which contains address=/.dev/ that fileRun sudo launchctl stop homebrew.mxcl.dnsmasq or whatever command stops Dnsmasq on your systemThere you go!Special thanks to Yuriy Golobokov for helping me debug this!. More details

Leave a Reply