Git Product home page Git Product logo

dcgan-matconvnet's Introduction

DCGAN implementation on MatConvNet

Deep Convolutional Generative Adversarial Network (DCGAN) [1] implementation on MatConvNet

*Note: Any MCN version is compatible

Prerequisites

  1. Download CelebA database at: https://drive.google.com/file/d/0B7EVK8r0v71pZjFTYXZWM3FlRnM/view?usp=sharing

    Unzip and store it to '/data' folder such that 'data/img_align_celeba/00001.bmp..'
    
  2. Download Pretrained DCGAN at: https://www.dropbox.com/s/dmyqd6yfga9wsm6/net_dcgan.mat?dl=0

    Place it in '/net' folder such that 'net/net_dcgan.mat'
    

How to play

Run main_start_dcgan.m

If you use GPU, set opts.idx_gpus = 1' in line 7 and opts.install.cuda_path = 'your cuda folder' in line 11)

'main_start_dcgan.m' will perform:

  1. Installation of MatConvNet (ver 1.0-beta24)
  2. Generation of an image DB file fitting to MatConvNet
  3. Testing a pre-trained DCGAN
  4. Training a new DCGAN

*Note: All hyper parameters for training the network (e.g., learning rate) are identically set to [1]

Results

alt text

[1] Radford, Alec, Luke Metz, and Soumith Chintala. "Unsupervised representation learning with deep convolutional generative adversarial networks." arXiv preprint arXiv:1511.06434 (2015).(https://arxiv.org/abs/1511.06434)

dcgan-matconvnet's People

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.