All models

erik_discogan

A generator that maps an image from one domain to its counterpart in another, trained without paired examples.

Diffusion and generative · 27 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (42 KB)

Open in a new tab

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.

At a glance

Family
DiscoGAN
Parameters
6.2M
Operations
27
Framework
PyTorch
Recurrent
No
Published
ICML 2017
Cited by
1,210 (as of 29 October 2026)
Authors
Taeksoo Kim, Moonsu Cha, Hyunsoo Kim and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11839
Graph hash
49b6f7cd7e83b60a4e5a339311b49dc21e9f52538ed9ca6d6d81f048805c6d97
Skeleton hash
d90b500ebc572a46173a83bc16c8b1c0b8fcd3bfde33579407725044b169735e
Architecture hash
3126aeb3d1e6f3a897535d47017ab770c39a0e6f82938619cc7ab592b43ba70e
Diagram SHA-256
a89732bb37f80cdd97f7a38d74ef31579452b6207e6cb84f60513e965c080c95
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.ri_gan_erik:build_discogan: build({})

What it is

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.

  • DiscoGAN
  • Disco GAN
  • Discovery GAN
  • cross-domain relations
  • unpaired image-to-image translation
  • image-to-image translation
  • style transfer
  • generative adversarial network

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}