Code Monkey home page Code Monkey logo

torch-gan's Introduction

Torch convolutional GAN

To run the code clone the repository

git clone https://github.com/skaae/torch-gan.git

cd to the datasets subfolder and run create_dataset.py. This will create the labeled faces in the wildt dataset. This may take a while depending on your internet connection etc.

Then run

th train_lfw.lua -g 0

where -g 0 specifies the GPU you want to use. The code will only run on GPU, but you can easily modify to run on CPU by removing the cudnn dependencies.

The code will plot 100 generated images after each epoch. After a 5-10 epochs you should see something that looks like a face.

The code was written by Anders Boesen Lindbo Larsen and Søren Kaae Sønderby. Our code is based on code released with the LAPGAN paper.

Move in latent space

Long latent space movie

Faces

100 epochs

Faces

Dependencies

torch-gan's People

Contributors

skaae avatar

Watchers

 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.