Coder Social home page Coder Social logo

joint-gan_r6b0's Introduction

Joint-GAN

Tensorflow implementation for reproducing results in Joint GAN. Implemented based on StackGAN. Many thanks for sharing the code.

Dependencies

  • python 2.7
  • TensorFlow 1.0.0
  • prettytensor
  • progressbar
  • python-dateutil
  • easydict
  • pandas
  • torchfile

Data

  1. Download the preprocessed char-CNN-RNN text embeddings for birds and save them to Data/
  2. Download the birds image data and extract to Data/birds/
  3. Preprocess images: python misc/preprocess_birds.py

Pretrained Model

Download the pretrained LSTM decoder for bird and unzip all files to pretrain/

Training

Train a Joint GAN model on the CUB dataset using the preprocessed data for birds: python Main.py

Results

Generated results can be find in ckt_logs/birds/

  • fake_images.jpg: generated images from noise
  • gen_fake_sentences.txt: conditionally generated sentences based on fake_images.jpg
  • fake_sentences.txt: generated sentences from noise
  • gen_fake_images.jpg: conditionally generated images based on fake_sentences.txt

Images in the very left column of each file are the sample real images. The rest 16 images are paired with the first 16 sentences in the corresponding text file.

joint-gan_r6b0's People

Contributors

sdai654416 avatar trellixvulnteam 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.