Skip to Content
Hands-On Unsupervised Learning with Python
book

Hands-On Unsupervised Learning with Python

by Giuseppe Bonaccorso
February 2019
Intermediate to advanced
386 pages
9h 54m
English
Packt Publishing
Content preview from Hands-On Unsupervised Learning with Python

Example of a deep convolutional variational autoencoder

In this example, we want to build and train a deep convolutional variational autoencoder based on the Olivetti faces dataset. The structure is very similar to the one employed in our first example. The encoder has the following layers:

  • 2D convolution with 16 (3 × 3) filters, (2 × 2) strides, ReLU activation, and the same padding
  • 2D convolution with 32 (3 × 3) filters, (1 × 1) strides, ReLU activation, and the same padding
  • 2D convolution with 64 (3 × 3) filters, (1 × 1) strides, ReLU activation, and the same padding
  • 2D convolution with 128 (3 × 3) filters, (1 × 1) strides, ReLU activation, and the same padding

The decoder has the following transpose convolutions:

  • 2D transpose convolution ...
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.
Start your free trial

You might also like

Hands-On Unsupervised Learning Using Python

Hands-On Unsupervised Learning Using Python

Ankur A. Patel
Introduction to Machine Learning with Python

Introduction to Machine Learning with Python

Andreas C. Müller, Sarah Guido

Publisher Resources

ISBN: 9781789348279Supplemental Content