GithubHelp home page GithubHelp logo

lccgan's Introduction

LCCGAN

Pytorch implementation for “Adversarial Learning with Local Coordinate Coding”.

Architecture of LCCGAN

  • AutoEncoder (AE) learns embeddings on the latent manifold.
  • Local Coordinate Coding (LCC) learns local coordinate systems.
  • The LCC sampling method is conducted on the latent manifold.

Gometric Views of LCC Sampling

  • With the help of LCC, we obtain local coordinate systems for sampling on the latent manifold.
  • Using the local coordinate systems, LCC-GANs always sample some meaningful points to generate new images with different attributes.

Training Algorithm

Dependencies

python 2.7

Pytorch

Dataset

In our paper, to sample different images, we train our model on four datasets, respectively.

Training

  • Train LCCGAN on Oxford-102 Flowers dataset.
python trainer.py --dataset flowers --dataroot your_images_folder --batchSize 64 --imageSize 64 --cuda
  • If you want to train the model on Large-scale CelebFaces Attributes (CelebA), Large-scale Scene Understanding (LSUN) or your own dataset. Just replace the hyperparameter like these:
python trainer.py --dataset name_o_dataset --dataroot path_of_dataset

Citation

@InProceedings{pmlr-v80-cao18a,
  title = 	 {Adversarial Learning with Local Coordinate Coding},
  author = 	 {Cao, Jiezhang and Guo, Yong and Wu, Qingyao and Shen, Chunhua and Huang, Junzhou and Tan, Mingkui},
  booktitle = 	 {Proceedings of the 35th International Conference on Machine Learning},
  pages = 	 {707--715},
  year = 	 {2018},
  editor = 	 {Dy, Jennifer and Krause, Andreas},
  volume = 	 {80},
  series = 	 {Proceedings of Machine Learning Research},
  address = 	 {Stockholmsmässan, Stockholm Sweden},
  month = 	 {10--15 Jul},
  publisher = 	 {PMLR}
}

lccgan's People

Contributors

guoyongcs avatar scutjinchengli avatar guoyong2219 avatar

Stargazers

Jiarong Ye avatar Jatin Kumar avatar  avatar Zhijie Wu avatar  avatar  avatar menggehe avatar xiezheng-cs avatar Chen Gao avatar Tzu-Heng Lin avatar  avatar  avatar mizuyeah avatar Langyuan Mo avatar  avatar Jiezhang Cao avatar

Watchers

James Cloos avatar  avatar Tzu-Heng Lin 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.