All models

erik_dualgan

DualGAN translators from PyTorch-GAN: U-shaped generators trained on unpaired images from two domains.

Diffusion and generative · 69 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 (45 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
dualgan
Parameters
7.8M
Operations
69
Framework
PyTorch
Recurrent
No
Published
ICCV 2017
Cited by
2,229 (as of 17 October 2026)
Authors
Zili Yi, Hao Zhang, Ping Tan, Minglun Gong
License
Apache-2.0
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
m11840
Graph hash
3c581f30e9d4c9d91fc0d29895a4a0702dad01db68313b94438977296298cc03
Skeleton hash
d3091540fb77d1b2db85690fe6e420fc017fbdfd67ce72349e87c0b5b918e755
Architecture hash
0052e12920bacb6b978329d88b5fc219c3c2016e496db612d22d0c0df6ec13d0
Diagram SHA-256
bc87857df8fa001c44db5c22a91fb0237e4d19a6c633ab3275615b2e58ef4ea9
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

About this model's family

DualGAN trains image translators from two sets of unlabeled images, one per domain, without any paired examples. The primal GAN learns to translate images from domain U to domain V while the dual GAN learns to invert the task. The closed loop lets an image from either domain be translated and then reconstructed, so reconstruction error becomes the training signal. The authors took the idea from dual learning in natural language translation. They note that CycleGAN, concurrent work, proposes the same idea for unpaired translation.

The generators are U-shaped, with skip connections between mirrored downsampling and upsampling layers so low-level structure passes straight from input to output. No explicit noise vector is fed in, and randomness comes only from dropout applied at both training and test time. The discriminators are Markovian PatchGANs that model images only at the patch level. The adversarial loss follows the format advocated by Wasserstein GAN rather than the sigmoid cross-entropy of the original GAN.

On some tasks DualGAN even matched or slightly beat a conditional GAN trained on fully labeled data. The authors' own code runs on TensorFlow 1.0 or later. The captured member comes from the PyTorch-GAN collection, whose author warns that its architectures will not always mirror the ones proposed in the papers.

Key idea. A pair of GANs, primal and dual, whose closed translate-and-reconstruct loop trains image translators from two unlabeled image sets with no paired data.

  • DualGAN
  • dual GAN
  • unsupervised dual learning
  • unpaired image-to-image translation
  • image translation
  • U-Net generator
  • CycleGAN
  • PyTorch-GAN

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

Cite the paper

@misc{yi2018dualganunsupervisedduallearning,
      title={DualGAN: Unsupervised Dual Learning for Image-to-Image Translation}, 
      author={Zili Yi and Hao Zhang and Ping Tan and Minglun Gong},
      year={2018},
      eprint={1704.02510},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1704.02510}, 
}