Git Product home page Git Product logo

stackgan-pp's Introduction

StackGAN++

TensorFlow implementation of StackGAN++, described in the paper by Zhang, Xu et al.

Run project

Dependencies. Python 3, TensorFlow 1.4 (, TensorBoard)

Data. You can find used datasets on FloydHub:

Training.

  1. Clone the repo, including the TensorFlow models submodule:

    git clone --recurse-submodules https://github.com/jppgks/stackgan-pp.git
  2. Run the training script

    python ./train.py

    optionally with arguments. All possible arguments, with their doc strings, are listed when running:

    python ./train.py --help
  3. Follow progress in TensorBoard:

    tensorboard --logdir=<TRAIN_LOG_DIR location>

Project structure

The project aims to reproduce StackGAN++ paper results by introducing as little modifications as possible to the existing TFGAN framework.

TFGAN โ†’ TFSTACKGAN. tfstackgan mimics the folder structure of TFGAN. tfstackgan/python/train.py contains modified TFGAN train.py functions. The color loss for the generator is defined in tfstackgan/python/losses/python/losses_impl.py. The ./train.py and ./networks.py scripts are modeled after the TFGAN CIFAR example.

Comparison with paper

Upsampling. This implementation does not make use of GLUs and/or residual blocks at the moment. Upsampling in all generator stages happens through fractionally strided convolutions.

References

stackgan-pp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

stackgan-pp's Issues

dataset preparation

Incase i want to create Text embeddings for my own dataset how do i proceed?

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.