/chainer-pggan-demo

demo code of PGGAN [ICLR 18] with chainer

Primary LanguagePythonMIT LicenseMIT

chainer-pggan-demo

This repository contains the demo code for the paper Progressive Growing of GANs implemented with Chainer.

Requirements

  • python3
  • googledrivedownloader==0.3
  • chainer==5.0.0
  • chainercv==0.11.0
  • environment for progressive_growing_of_gans

Usage

  1. Clone this repository.
$ git clone https://github.com/fujibo/chainer-pggan-demo.git --recursive
  1. Extract weights of a tensorflow model in a npz format.
$ cd progressive_growing_of_gans/
$ python download_model.py
$ python covert_model.py
  1. Adjust layer names and weights for Chainer.
$ cd ../
$ python convert_npz.py
  1. Demonstrate.
$ python demo.py