knok / chainer-fm-gan

Re-implementation of FM-GAN, based on the TensorFlow code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chainer-fm-gan

This is a re-implimentation of FM-GAN using chainer.

Requirements:

  • Python 3.5+
  • Chainer 5.2+
  • wget, nkf, mecab (for preprocessing dataset)

How to run

Dataset

data/ directory contains scripts to download the Livedoor news corpus and preprocess them.

Just type the following:

cd data && make all

Train

export GPU=0 # if you want to use GPU
./train.sh # pretrain LSTM-VAE
./gantrain.sh # GAN training

License

3-clause BSD

About

Re-implementation of FM-GAN, based on the TensorFlow code

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 97.5%Language:Makefile 1.4%Language:Shell 1.1%