
erik_discogan
Diffusion and generative27 ops6.2M params
A generator that maps an image from one domain to its counterpart in another, trained without paired examples.
Diffusion and generative · 27 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.
How this diagram was made
menagerie.classics.ri_gan_erik.GeneratorUNet(input_shape=[3, 64, 64])
About this model's family
DiscoGAN is a method based on generative adversarial networks that learns to discover relations between two domains from unpaired data. Once trained, it takes an image from one domain and generates the corresponding image in the other, for example a shoe image from a handbag image.
The model is built from two GANs coupled together, each mapping one domain to its counterpart. Each generated image must also be translated back to reconstruct its input, which the paper uses to encourage a one-to-one mapping between the domains and not a many-to-one mapping. The two coupled models are trained together simultaneously.
The paper describes each generator as an encoder-decoder pair that takes an image of size 64 × 64 × 3. Its encoder is made of convolution layers with 4 × 4 filters, each followed by leaky ReLU, and its decoder of deconvolution layers with 4 × 4 filters. The number of convolution and deconvolution layers ranges from four to five, depending on the domain.
Key idea. DiscoGAN couples two GANs with reconstruction losses so that the mapping between two unpaired image domains becomes one-to-one, which lets it discover cross-domain relations without paired data.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{kim2017learningdiscovercrossdomainrelations,
title={Learning to Discover Cross-Domain Relations with Generative Adversarial Networks},
author={Taeksoo Kim and Moonsu Cha and Hyunsoo Kim and Jung Kwon Lee and Jiwon Kim},
year={2017},
eprint={1703.05192},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1703.05192},
}