Path: blob/master/second_edition/chapter12_part04_variational-autoencoders.ipynb
713 views
Kernel: Python 3
This is a companion notebook for the book Deep Learning with Python, Second Edition. For readability, it only contains runnable code blocks and section titles, and omits everything else in the book: text paragraphs, figures, and pseudocode.
If you want to be able to follow what's going on, I recommend reading the notebook side by side with your copy of the book.
This notebook was generated for TensorFlow 2.6.
Generating images with variational autoencoders
Sampling from latent spaces of images
Concept vectors for image editing
Variational autoencoders
Implementing a VAE with Keras
VAE encoder network
In [0]:
In [0]:
Latent-space-sampling layer
In [0]:
VAE decoder network, mapping latent space points to images
In [0]:
In [0]:
VAE model with custom train_step()
In [0]:
Training the VAE
In [0]:
Sampling a grid of images from the 2D latent space
In [0]: