Skip to content
No description, website, or topics provided.
Python Shell
Branch: master
Clone or download
Latest commit 7983799 Jun 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
common Delete __init__ Jun 6, 2019
gan Add files via upload Jun 6, 2019
wgan_gp Add files via upload Jun 6, 2019
README.md Update README.md Jun 6, 2019
__init__.py Add files via upload Jun 6, 2019
example.sh Add files via upload Jun 6, 2019
requirements.txt Add files via upload Jun 6, 2019
train.py Add files via upload Jun 6, 2019

README.md

LGAN

This repository collects chainer implementation of LGAN. These codes are built based on the chainer-gan-lib.

How to use

Install the requirements first:

pip install -r requirements.txt

This implementation has been tested with the following versions.

python 3.5.2
chainer 4.0.0
+ https://github.com/chainer/chainer/pull/3615
+ https://github.com/chainer/chainer/pull/3581
cupy 3.0.0
tensorflow 1.2.0 # only for downloading inception model
numpy 1.11.1

Download the inception score module here.

git submodule update -i

Download the inception model.

cd common/inception
python download.py --outfile inception_score.model

You can start training with train.py.

Please see example.sh to train different algorithms.

Inception scores are calculated by average of 10 evaluation with 5000 samples.

FIDs are calculated with 50000 train dataset and 10000 generated samples.

You can’t perform that action at this time.