Earlier quoted context omitted.
One of my primary motivators behind building this blogpost was to show how exactly one can use TensorFlow to ship a production mobile application. There’s certainly a lot of material out there, but a lot of it is either light on details, or only fit for prototypes/demos. There was quite a bit of work involved in making TensorFlow work well on a variety of devices, and I’m proud we managed to get it down to just 50MB…
yeah, that's my main pain with the TF docs – great if you just want to try one of the MNIST tutorial variations, but there's a lot more you need to figure out when you get beyond of these "hello world" examples…
How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
41–50 of 123 posts
Re: How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
#42How did you source and categorize the initial 150K of hotdogs & not hotdogs?
Re: How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
#43Just wanted to say thanks for the warm welcome from HN when the app was released last month — I hope this blogpost answers the questions that were raised back then. I’d be happy to answer anything else you’d like to know! Original thread: https://news.ycombinator.com/item?id=14347211 Demo of the app (in the show): https://www.youtube.com/watch?v=ACmydtFDTGs App for iOS: https://itunes.apple.com/app/not-hotdog/id12124…
Slightly offtopic, but I wonder how hard it was to attach eGPU to MacBook Pro? Is there some official support, or was it just a dirty hack?
Re: How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
#44Very informative write up. Thanks! How did you source and categorize the initial 150K of hotdogs & not hotdogs?
Re: How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
#45Re: How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
#46Re: How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
#47What an ingenious way to covertly distribute the Pied Piper decentralized storage app.
Re: How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
#48Earlier quoted context omitted.
Quick followup, what type of optimizer did you guys end up using?
SGD with Cyclical Learning Rates [0]. Honestly, it’s the closest to a Machine Learning silver bullet I’ve found to date! That paper is awesome . [0]: https://arxiv.org/abs/1506.01186
Re: How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
#49What kind of accuracy did you get with the transfer learning attempts?
That would have beat what I ended up shipping, but the problem of course was the size of those networks. So really, if we’re comparing apples to apples, I’ll say none of the “small”, mobile-friendly neural nets (e.g. SqueezeNet, MobileNet) I tried to retrain did anywhere near as well as my DeepDog network trained from scratch. The training runs were really erratic and never really reached any sort of upper bound asymptotically as they should. I think this has to do with the fact that these very small networks contain data about a lot of ImageNet classes, and it’s very hard to tune what they should retain vs. what they should forget, so picking your learning rate (and possibly adjusting it on the fly) ends up being very critical. It’s like doing neurosurgery on a mouse vs. a human I guess — the brain is much smaller, but the blade says the same size :-/
Re: How HBO’s Silicon Valley Built “Not Hotdog” with TensorFlow, Keras and React Native
#50Interesting. What is the external GPU (eGPU) enclosure you used for the Nvidia GTX 980 Ti card? Is it this one? https://bizon-tech.com/us/bizonbox2s-egpu.html/