资源算法im2im

im2im

2019-09-10 | |  194 |   0 |   0

Unsupervised Image to Image Translation with Generative Adversarial Networks


Paper: Unsupervised Image to Image Translation with Generative Adversarial Networks

Dataset

  • Before training the network, please prepare the data

  • CelebA download

  • SVHN download

  • MNIST download, and put to data/mnist_png

Usage

Step 1: Learning shared feature

python train.py --train_step="ac_gan" --retrain=1

Step 2: Learning image encoder

python train.py --train_step="imageEncoder" --retrain=1

Step 3: Translation

python translate_image.py
  • Samples of all steps will be saved to data/samples/

Network


Want to use different datasets?

  • in train.py and translate_image.py modify the name of dataset flags.DEFINE_string("dataset", "celebA", "The name of dataset [celebA, obama_hillary]")

  • write your own data_loader in data_loader.py


上一篇:Semi Adversarial Networks

下一篇:chainer_caption_generation

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...