Giter Club home page Giter Club logo

f-gan-tensorflow's Introduction

f-GAN

Tensorflow implementation of f-GAN (NIPS 2016) - f-GAN: Training Generative Neural Samplers Using Variational Divergence Minimization.

TODO

  • make these divergences work (welcome the suggestions)
    • Kullback-Leibler with tricky G loss
    • Reverse-KL with tricky G loss
    • Pearson-X2 with tricky G loss
    • Squared-Hellinger with tricky G loss
    • Jensen-Shannon with tricky G loss
    • GAN with tricky G loss
  • test more divergence

Exemplar Results

  • Using tricky G loss (see Section 3.2 in the paper)

    Kullback-Leibler Reverse-KL Pearson-X2
    Squared-Hellinger Jensen-Shannon GAN
    NaN
  • Using theoretically correct G loss

    Kullback-Leibler Reverse-KL Pearson-X2
    Squared-Hellinger Jensen-Shannon GAN
    NaN

Usage

  • Prerequisites

    • tensorflow 1.7 or 1.8
    • python 2.7
  • Examples of training

    • training

      CUDA_VISIBLE_DEVICES=0 python train.py --dataset=mnist --divergence=Pearson-X2 --tricky_G
    • tensorboard for loss visualization

      CUDA_VISIBLE_DEVICES='' tensorboard --logdir ./output/mnist_Pearson-X2_trickyG/summaries --port 6006

Citation

If you find f-GAN useful in your research work, please consider citing:

@inproceedings{nowozin2016f,
  title={f-GAN: Training Generative Neural Samplers Using Variational Divergence Minimization},
  author={Nowozin, Sebastian and Cseke, Botond and Tomioka, Ryota},
  booktitle={Advances in Neural Information Processing Systems (NIPS)},
  year={2016}
}

f-gan-tensorflow's People

Contributors

lynnho avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.