Skip to content
StackDecode
AI & ML Atlas
Deep LearningarchitectureAnimated walkthrough

DCGAN

A GAN built from convolutional layers with a set of stabilising design rules.

The idea

Deep Convolutional GAN replaced pooling with strided convolutions, used transposed convolutions in the generator, added batch normalisation and used ReLU/LeakyReLU. These guidelines made GAN training far more reliable and produced the first convincing GAN images.

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1The generator upsamples noise with transposed convolutions into an image.
  2. 2The discriminator downsamples an image with strided convolutions to a real/fake score.
  3. 3Use batch normalisation in both networks.
  4. 4Train adversarially.
1/4

Step by step

  1. 1The generator upsamples noise with transposed convolutions into an image.
  2. 2The discriminator downsamples an image with strided convolutions to a real/fake score.
  3. 3Use batch normalisation in both networks.
  4. 4Train adversarially.

Where it is used

A reference architecture for image GANs.

Watch out for

Small, low-resolution outputs compared with later models.

Related