The Structure of This Chapter Libraries, Programming, and Debugging Versions and Programming Style Python Programming and Debugging Running Externally A Workaround Note Overview Tensors and Arrays Setting Up Keras Shapes of Tensors Holding Images GPUs and Other Accelerators Getting Started Hello, World Preparing the Data Reshaping Loading the Data Looking at the Data Train-test Splitting Fixing the Data Type Normalizing the Data Fixing the Labels Pre-Processing All in One Place Making the Model Turning Grids into Lists Creating the Model Compiling the Model Model Creation Summary Training the Model Training and Using Our Model Looking at the Output Prediction Analysis of Training History Saving and Loading Saving Everything in One File Saving Just the Weights Saving Just the Architecture Using Pre-Trained Models Saving the Pre-Processing Steps Callbacks Checkpoints Learning Rate Early Stopping Wrapping UpReferences Image Credits