Skip to Content
Deep Learning with Python, Second Edition
book

Deep Learning with Python, Second Edition

by Francois Chollet
November 2021
Intermediate to advanced
504 pages
15h 55m
English
Manning Publications
Content preview from Deep Learning with Python, Second Edition

7 Working with Keras: A deep dive

This chapter covers

  • Creating Keras models with the Sequential class, the Functional API, and model subclassing
  • Using built-in Keras training and evaluation loops
  • Using Keras callbacks to customize training
  • Using TensorBoard to monitor training and evaluation metrics
  • Writing training and evaluation loops from scratch

You’ve now got some experience with Keras—you’re familiar with the Sequential model, Dense layers, and built-in APIs for training, evaluation, and inference—compile(), fit(), evaluate(), and predict(). You even learned in chapter 3 how to inherit from the Layer class to create custom layers, and how to use the TensorFlow GradientTape to implement a step-by-step training loop.

In the coming chapters, ...

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.
Start your free trial

You might also like

Deep Learning with Python, Second Edition

Deep Learning with Python, Second Edition

Francois Chollet
Introduction to Machine Learning with Python

Introduction to Machine Learning with Python

Andreas C. Müller, Sarah Guido
Python Machine Learning - Third Edition

Python Machine Learning - Third Edition

Sebastian Raschka, Vahid Mirjalili

Publisher Resources

ISBN: 9781617296864Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link