Hands-On Convolutional Neural Networks with TensorFlow
by Iffat Zafar, Giounona Tzanidou, Richard Burton, Nimesh Patel, Leonardo Araujo
Variational autoencoders
Our first true generative model, which can create more data that resembles the training data, will be the variational autoencoder (VAE). The VAE looks like the normal autoencoder but with a new constraint that will force our compressed representation (latent space) to follow a zero mean and unit variance Gaussian distribution.
The idea behind forcing this constraint on the latent space is that when we want to use our VAE to generate new data, we can just create sample vectors that come from a unit Gaussian distribution and give them to the trained decoder. It is this constraint on the latent space vector that is the difference between VAE and normal autoencoders. This constraint allows us a way to create new latent ...
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