Giter VIP home page Giter VIP logo

eccv16_attr2img's Introduction

Attribute2Image

This is the code for ECCV 2016 paper Attribute2Image: Conditional Image Generation from Visual Attributes by Xinchen Yan, Jimei Yang, Kihyuk Sohn and Honglak Lee.

Please follow the instructions to run the code.

Requirements

Attribute2Image requires or works with

  • Mac OS X or Linux
  • NVIDIA GPU

Installing Dependency

Data Preprocessing

  • For LFW dataset, please run the script to download the pre-processed dataset
./prep_cropped_lfw.sh
  • Disclaimer: Please cite the LFW paper if you download this pre-processed version.

  • For CelebA dataset, please download the original dataset and then run the script for pre-processing

./prep_cropped_celeba.sh
  • Alternatively, you can download the pre-processed .t7 files with the following script:
./download_preprocessed_celeba.sh
  • Disclaimer: Please cite the CelebA paper if you download the pre-processed .t7 files.

  • For CUB dataset, please run the script to download the pre-processed dataset

./prep_cropped_cub.sh

Training (vanilla CVAE)

  • If you want to train the LFW image generator, please run the script (less than 3 hours on a single Titan X GPU)
./demo_lfw_trainCVAE.sh
  • If you want to train the CelebA image generator, please run the script (around 24 hours on a single Titan X GPU)
./demo_celeba_trainCVAE.sh

Training (disentangling CVAE)

  • If you want to train the LFW layered image generator, please run the script (less than 5 hours on a single Titan X GPU)
./demo_lfw_trainDisCVAE.sh
  • If you want to train the CUB layered image generator, please run the script (less than 3 hours on a single Titan X GPU)
./demo_cub_trainDisCVAE.sh

Visualization using Pre-trained Models

TBD

Citation

If you find this useful, please cite our work as follows:

@article{yan2015attribute2image,
  title={Attribute2Image: Conditional Image Generation from Visual Attributes},
  author={Yan, Xinchen and Yang, Jimei and Sohn, Kihyuk and Lee, Honglak},
  journal={arXiv preprint arXiv:1512.00570},
  year={2015}
}

Please contact "[email protected]" if any questions.

eccv16_attr2img's People

Contributors

xcyan avatar

Watchers

Chenrui Zhang avatar paper2code - bot 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.