After spending my most of my life in academia studying mathematics, I wanted to branch out and use it. I'm interested in a lot of subjects, like number theory, applied math, data analysis, programming, statistics, genetics, epidemiology, and social justice. This blog is a chance for me to express my journey of learning and using what I know in the real world. I hope to gain insight in interactions with others and help others going down this road as well.
Hey Nick,
I've come across your upcoming book and the contents look like it is exactly what I've been looking for (nice to see that it covers SVMs!). I am completing my masters in mechatronics engineering and am focusing on machine learning in particular.
I am currently in a fairly urgent need for something that walks through saving and restoring graphs and weights for tensorflow and I am considering purchasing the early access ebook from packtpub. Does your book cover this as well?
Cheers,
Chris
Hi Chris, Thanks for the comment. My book doesn't go into too much detail about saving and loading, but you can find samples of the code with a full example here: https://github.com/nfmcclure/tensorflow_cookbook/tree/master/10_Taking_Tensorflow_to_Production/05_Production_Example
I would also recommend reading through this post, which helped me understand how TF does saving/evaluating:
https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-python-api-d4f3596b3adc#.9pkw8n962
Also, be sure to go through the official documentation carefully here: https://www.tensorflow.org/how_tos/variables/
This may work for you for the time being. But be aware that the methods of saving and loading models are changing soon in the upcoming 1.0 release of TensorFlow.
Good luck with your MA degree, sounds fascinating!
Thanks for your help! Exactly what I needed.
I had been trying to get the new(er) restore method from version 0.11 onwards, will it be changed again for 1.0? I couldn't find any info on whether it will be changing for 1.0.
The code examples look great, your book will be so useful for me this year, thanks again.