Skip to content

Chainer implementation of "Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Network".

Notifications You must be signed in to change notification settings

wkentaro/chainer-cyclegan

Repository files navigation

chainer-cyclegan

Build Status

Chainer implementation of "Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Network".
This is a faithful re-implementation of the official PyTorch implementation.

Installation

git clone --recursive https://github.com/wkentaro/chainer-cyclegan.git
cd chainer-cyclegan

conda install -c menpo -y opencv
pip install .

or

pip install chainer-cyclegan

Training

cd examples/cyclegan

# ./train.py <dataset> --gpu <gpu_id>
./train.py horse2zebra --gpu 0

Results

apple2orange

summer2winter_yosemite

horse2zebra

monet2photo

cezanne2photo

ukiyoe2photo

vangogh2photo

maps

cityscapes

facades

iphone2dslr_flower