liveBook · Manning

DCGAN / deep convolutional gan

As explained in Evolutionary Deep Learning: Genetic algorithms and neural networks

A deep convolutional generative adversarial network is a generative adversarial network whose generator and discriminator use convolutional neural-network architectures.

A DCGAN is a generative adversarial network whose generator and discriminator use convolutional neural-network architectures. The generator maps random latent vectors to images, while the discriminator distinguishes real training images from generated ones. section 9.1.2

A practical DCGAN implementation typically proceeds as follows:

  • Prepare image data, optionally extracting one class to shorten training; a class value of 5 selects handwritten digit fives. section 9.1.2

Training and experimentation

Train on a single MNIST class to reduce runtime, inspect ten epochs of output, then rerun with all classes, Fashion-MNIST, or another supported dataset such as CIFAR. section 9.1.2 section 9.4.1

The model can also serve as a target for genetic-algorithm optimization. Discretizing gene values avoids reevaluating equivalent candidates, while fitness combines real, generated, and fake losses rather than relying on accuracy alone. section 9.5

How Evolutionary Deep Learning: Genetic algorithms and neural networks covers it

How deep it goes
Explains architecture, hyperparameters, compilation, and alternating training, while deferring detailed convolution theory.
Examples
Uses MNIST digit fives, Fashion-MNIST, CIFAR support, ten-epoch outputs, and dataset-variation exercises.
What it assumes
Assumes familiarity with convolution and autoencoders, while supplying the GAN construction and training workflow.
What you can do after
Build it from scratch in Keras, train it on image data, inspect generated outputs, and experiment with datasets and hyperparameters.
How it connects
Connects GANs with convolutional neural networks, autoencoders, latent space, and genetic algorithms.

Also explained in

Compare how 2 books explain DCGAN / deep convolutional gan →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Evolutionary Deep Learning: Genetic algorithms and neural networks. The section links point to the parts of the book it draws on.