Python: Advanced Guide to Artificial Intelligence
by Giuseppe Bonaccorso, Armando Fandango, Rajalingappaa Shanmugamani
Debugging TensorFlow Models
As we learned in this book, TensorFlow programs are used to build and train models that can be used for prediction in various kinds of tasks. When training the model, you build the computation graph, run the graph for training, and evaluate the graph for predictions. These tasks repeat until you are satisfied with the quality of the model, and then save the graph along with the learned parameters. In production, the graph is built or restored from a file and populated with the parameters.
Building deep learning models is a complex art and the TensorFlow API and its ecosystem are equally complex. When we build and train models in TensorFlow, sometimes we get different kinds of errors, or the models do not work as ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access