Giter Site home page Giter Site logo

comics_generation's Introduction

Comics_Generation in TensorFlow

NTU MLDS2017 Project 4

Project Link: https://www.csie.ntu.edu.tw/~yvchen/f106-adl/A4

Tensorflow implementation of Conditional Generative Adversarial Network (CGAN) automatically generates anime images based on given constraints (ex: green hair, blue eyes ..etc). The images are synthesized using the GAN-CLS Algorithm from the paper Generative Adversarial Text-to-Image Synthesis. The following is the model structure.

image

Image source is from the paper Generative Adversarial Text-to-Image Synthesis.

Dataset

Quick start

  1. Download Dataset from link above.

  2. Run the shell script!

./run.sh [test file]
  • [test file] should be <testing_text.txt> in the main folder. You can modify content if want different result.

Training

  • In image_generation.py, change mode = 1 (line 20) to be mode = 0, then do the Quick Start!

Demo Results

  • We test our model with test file below (testing_text.txt)
1,blue hair blue eyes
2,grey hair green eyes
3,green hair red eyes
4,red hair green eyes
5,green hair blue eyes
  • Generated Samples

image

References

comics_generation's People

Contributors

danielchyeh 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.