Git Product home page Git Product logo

text2painting's Introduction

text2painting

Convert keywords into painting

definition

Sample results (input words - stage1 output - stage2 output - stage3 output - ground truth)

results

Model

Model is built as sequential GANs with three stages

basic

Stage-1 structure

stage1

Stage-2 structure

stage2

Stage-3 structure

stage2

Installation

Set environment with

conda env create -f environment.yml

Install Spacy English language model

python -m spacy download en

Gallery

gallery

Data

You can download dataset from

DOI

A small sample of dataset can be downloaded from

https://drive.google.com/open?id=1KXEIrRGDvASEEm-vT_jJcvFLncapJDEL

Place them under data/deviantart_verified/images and data/wikiart_verified/images

Model

There are models in the same link above as well

https://drive.google.com/open?id=1KXEIrRGDvASEEm-vT_jJcvFLncapJDEL

Place a model directory under models/

Usage

All the necessary parameters are in lib/config.py

Train

python train.py

Continue training with

python train.py --model <model_file>

Test

python test.py --model <model_file>

Prediction

python pred.py --model <model_file> --input <input_text_file>

Example input text file format is asset/input.txt with each keyword set in a newline.

Citation

Please cite this paper

https://arxiv.org/abs/2007.04383

text2painting's People

Contributors

azmiozgen avatar azmiozgenrempeople avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

text2painting's Issues

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.