
pytorch_gan_cyclegan_generator
Diffusion and generative93 ops11.4M params
A residual-block generator that translates images from one domain to another, trained without paired examples.
Diffusion and generative · 69 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
CycleGAN is an approach for learning to translate an image from a source domain to a target domain when no paired training examples are available. An adversarial loss trains a mapping G so that the distribution of its translated images is indistinguishable from the distribution of the target domain.
Because that mapping alone is highly under-constrained, the paper couples it with an inverse mapping F and introduces a cycle consistency loss. The intuition is that translating from one domain to the other and back again should arrive at the starting image. The paper shows qualitative results on tasks where paired training data does not exist, including collection style transfer, object transfiguration, season transfer and photo enhancement.
The generator architecture is adopted from Johnson et al.: three convolutions, several residual blocks, two fractionally-strided convolutions and one convolution that maps features to RGB. It uses instance normalization. The paper uses 6 residual blocks for 128 × 128 images and 9 blocks for 256 × 256 and higher-resolution training images.
Key idea. CycleGAN learns image translation between two domains without paired examples by training two inverse mappings with adversarial losses and a cycle consistency loss.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{zhu2020unpairedimagetoimagetranslationusing,
title={Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks},
author={Jun-Yan Zhu and Taesung Park and Phillip Isola and Alexei A. Efros},
year={2020},
eprint={1703.10593},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1703.10593},
}