
erik_cgan
Diffusion and generative16 ops1.8M params
A GAN whose generator and discriminator both see a class label, so you choose which digit it draws.
Diffusion and generative · 16 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
The conditional GAN extends generative adversarial nets by feeding the data to condition on, y, to both the generator and the discriminator. In an unconditioned generative model there is no control over which modes of the data are generated; conditioning on extra information makes it possible to direct the generation. The paper shows the model generating MNIST digits conditioned on class labels.
In the generator, the input noise and the label are combined into a joint hidden representation. The paper's MNIST generator drew a 100-dimensional noise prior from a uniform distribution within the unit hypercube. The authors present the results as a proof of concept rather than a demonstration of efficacy.
The captured members are the generator from the PyTorch-GAN collection's cgan.py. That collection states that its architectures do not always mirror the papers and that it focuses on the core ideas rather than every layer configuration. The paper also sketches a multi-modal use, generating descriptive image tags that are not part of the training labels.
Key idea. Conditional GANs add control to adversarial generation by giving both networks the conditioning variable y, so the generator can be steered to a chosen class.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{mirza2014conditionalgenerativeadversarialnets,
title={Conditional Generative Adversarial Nets},
author={Mehdi Mirza and Simon Osindero},
year={2014},
eprint={1411.1784},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1411.1784},
}