Advanced Deep Learning with Keras
This is the code repository for Advanced Deep Learning with Keras, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
About the Book
This book covers advanced deep learning techniques to create successful AI. Using MLPs, CNNs, and RNNs as building blocks to more advanced techniques, you’ll study deep neural network architectures, Autoencoders, Generative Adversarial Networks (GANs), Variational AutoEncoders (VAEs), and Deep Reinforcement Learning (DRL) critical to many cutting-edge AI results.
Instructions and Navigation
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, chapter2-deep-networks.
The code will look like the following:
def encoder_layer(inputs,
filters=16,
kernel_size=3,
strides=2,
activation='relu',
instance_norm=True):
"""Builds a generic encoder layer made of Conv2D-IN-LeakyReLU
IN is optional, LeakyReLU may be replaced by ReLU
"""
conv = Conv2D(filters=filters,
kernel_size=kernel_size,
strides=strides,
padding='same')
Related Products
Advanced Deep Learning with Keras sample code used in the book
Chapter 1 - Introduction
Chapter 2 - Deep Networks
Chapter 3 - AutoEncoders
Sample outputs for random digits:
Sample outputs for random cifar10 images:
Chapter 4 - Generative Adversarial Network (GAN)
Sample outputs for random digits:
Sample outputs for digits 0 to 9:
Chapter 5 - Improved GAN
Sample outputs for random digits:
Sample outputs for random digits:
Sample outputs for digits 0 to 9:
Chapter 6 - GAN with Disentangled Latent Representations
Sample outputs for digits 0 to 9:
Sample outputs for digits 0 to 9:
Chapter 7 - Cross-Domain GAN
Sample outputs for random cifar10 images:
Sample outputs for MNIST to SVHN:
Chapter 8 - Variational Autoencoders (VAE)
Generated MNIST by navigating the latent space:
Chapter 9 - Deep Reinforcement Learning
Mnih, Volodymyr, et al. "Human-level control through deep reinforcement learning." Nature 518.7540 (2015): 529
DQN on Cartpole Environment:
Chapter 10 - Policy Gradient Methods
Sutton and Barto, Reinforcement Learning: An Introduction
Policy Gradient on MountainCar Continuous Environment:
Citation
If you find this work useful, please cite:
@book{atienza2018advanced,
title={Advanced Deep Learning with Keras},
author={Atienza, Rowel},
year={2018},
publisher={Packt Publishing Ltd}
}