GithubHelp home page GithubHelp logo

chainer-glow's Introduction

Glow: Generative Flow with Invertible 1×1 Convolutions

https://arxiv.org/abs/1807.03039

後で実装解説を書きます。

Requirements

  • Python 3
  • Ubuntu
  • Chainer 4
  • Extremely huge amount of GPU memory
  • python-tabulate
  • scipy

Installation

pip3 install chainer cupy h5py
pip3 install tabulate

Dataset

CelebA HQ

Large-scale CelebFaces Attributes (CelebA) Dataset

Run

cd run
python3 train.py -dataset /home/user/dataset/celeba-64x64-images-npy/ -b 4 -depth 32 -levels 4 -nn 512 -bits 5 -ext npy

Results

Effect of change of #channels

cd run/experiments
python3 change_channels.py -snapshot-1 ../snapshot_512 -snapshot-2 ../snapshot_256 -snapshot-3 ../snapshot_128

https://thumbs.gfycat.com/UnimportantYoungEider-size_restricted.gif

Effect of change of temperature

cd run/experiments
python3 change_temperature.py -snapshot ../snapshot

https://thumbs.gfycat.com/WeeWelltodoGrasshopper-size_restricted.gif

https://thumbs.gfycat.com/LinedAptInexpectatumpleco-size_restricted.gif

Interpolation

cd run/experiments
python3 interpolation.py -snapshot ../snapshot -dataset /home/user/dataset/celeba-64x64-images-npy/ -ext npy -temp 1

https://thumbs.gfycat.com/TautLegalJellyfish-size_restricted.gif

https://thumbs.gfycat.com/PoshMatureEagle-size_restricted.gif

CelebA HQ

cd run/experiments
python3 generate.py  -snapshot ../snapshot_hq --temperature 0.7

https://thumbs.gfycat.com/ConsciousAlarmingAmericanredsquirrel-size_restricted.gif

cd run/experiments
python3 random_walk.py  -snapshot ../snapshot_hq --temperature 0.7

https://thumbs.gfycat.com/FaintWideeyedAfricanporcupine-size_restricted.gif

chainer-glow's People

Contributors

musyoku avatar

Watchers

James Cloos avatar Shengliang Pu avatar paper2code - bot 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.