Giter Club home page Giter Club logo

layoutgan-tensorflow's Introduction

LayoutGAN in Tensorflow

Official Tensorflow implementation of "LayoutGAN: Generating Graphic Layouts with Wireframe Discriminators" publishsed in ICLR 2019: https://openreview.net/forum?id=HJxB5sRcFQ.

Some codes are implemented from https://github.com/carpedm20/DCGAN-tensorflow.

This project is licensed under the terms of the “Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International” license.

Online Demo

Animation videos to demonstrate the movements of all the graphic elements.

  • MNIST

  • Tangram

Prerequisites

  • Python 2.7
  • Tensorflow 1.2.0

Usage

First, download the trasformed point layout representation of MNIST dataset from
https://drive.google.com/file/d/1R1iRZxADR_RcDsuR4gyStyLAo7i5LRAH/view?usp=sharing,
and put it under ./data directory.

To train a model with downloaded dataset:
$ bash ./experiments/scripts/train_mnist.sh

For bounding box layout experiments, you may refer to the commented lines in the code.

Results on MNIST

layoutgan-tensorflow's People

Contributors

jiananli2016 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

Watchers

 avatar  avatar  avatar

layoutgan-tensorflow's Issues

Link failed

could you fix this link failure? or just share the files for data preprocessing?

Tangram Dataset

Hello,
Can you please share the link for tangram dataset?

Thanks

input data

Could you share your scripts for generating pre_data_cls.npy file or share the pre_data_cls.npy file since the google driver link is failed?

checkpoint

Hello, could you please share your checkpoints? Thanks a lot.

Reproducing bbox layout experiment

Hi, Jianan. Thanks for sharing the code.
I am trying to reproduce the bbox layout experiment in my forked repository.
Referring to the paper and the commented code, I obtained the following generated results.

Real example Generated example

Do you think the quality of these generated results is as good as the results you got?
Do you expect improvement by adjusting hyperparameters? Which parameters in particular do you feel have a significant impact?
Also, I would like to know if there are any significant differences in my implementation of the NN architecture.

My experiment is summarized here.

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.