kktsubota / chainer-pggan-demo

demo code of PGGAN [ICLR 18] with chainer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

demo code of PGGAN [ICLR 18] with chainer

License:MIT License


Languages

Language:Python 100.0%