Quick Start
git clone https://github.com/bareform/bicyclegan.git
cd bicyclegan
You can download the pre-trained models here and use the provided Jupyter Notebook inference.ipynb to generate some samples.
Method
Toward Multimodal Image-to-Image Translation
Jun-Yan Zhu1, Richard Zhang1, Deepak Pathak1, Trevor Darrell1, Alexei A. Efros1, Oliver Wang2, Eli Shechtman2
1UC Berkeley, 2Adobe Research
Many image-to-image translation problems are ambiguous, as a single input image may correspond to multiple possible outputs. In this work, we aim to model a distribution of possible outputs in a conditional generative modeling setting. The ambiguity of the mapping is distilled in a low-dimensional latent vector, which can be randomly sampled at test time. A generator learns to map the given input, combined with this latent code, to the output. We explicitly encourage the connection between output and the latent code to be invertible. This helps prevent a many-to-one mapping from the latent code to the output during training, also known as the problem of mode collapse, and produces more diverse results. We explore several variants of this approach by employing different training objectives, network architectures, and methods of injecting the latent code. Our proposed method encourages bijective consistency between the latent encoding and output modes. We present a systematic comparison of our method and other variants on both perceptual realism and diversity.
Citation
The original paper can be found at:
@misc{zhu2017bicyclegan,
title={Toward Multimodal Image-to-Image Translation},
author={Jun-Yan Zhu and Richard Zhang and Deepak Pathak and Trevor Darrell and Alexei A. Efros and Oliver Wang and Eli Shechtman},
year={2017},
eprint={1711.11586},
archivePrefix={arXiv},
primaryClass={cs.CV}
}