更新时间:2021-06-10 19:39:31
coverpage
Title Page
Packt Upsell
Why subscribe?
Packt.com
Contributors
About the authors
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Get in touch
Reviews
Keras Installation
Introduction
Installing Keras on Ubuntu 16.04
How to do it...
Installing miniconda
Installing numpy and scipy
Installing mkl
Installing TensorFlow
Installing Keras
Using the Theano backend with Keras
Installing Keras with Jupyter Notebook in a Docker image
Installing the Docker container
Installing the Docker container with the host volume mapped
Installing Keras on Ubuntu 16.04 with GPU enabled
Installing cuda
Installing cudnn
Installing NVIDIA CUDA profiler tools interface development files
Installing the TensorFlow GPU version
Working with Keras Datasets and Models
CIFAR-10 dataset
CIFAR-100 dataset
Specifying the label mode
MNIST dataset
Load data from a CSV file
Models in Keras – getting started
Anatomy of a model
Types of models
Sequential models
Create a Sequential model
Compile the model
Train the model
Evaluate the model
Predict using the model
Putting it all together
Model inspection internals
Model compilation internals
Initialize the loss
Model training
Output of the sample
Shared layer models
Introduction – shared input layer
Concatenate function
Keras functional APIs
The output of the example
Keras functional APIs – linking the layers
Model class
Image classification using Keras functional APIs
Data Preprocessing Optimization and Visualization
Feature standardization of image data
Initializing ImageDataGenerator
Sequence padding
Pre-padding with default 0.0 padding
Post-padding
Padding with truncation
Padding with a non-default value
Model visualization