Coder Social home page Coder Social logo

zxf3627043 / 2016_gan_matlab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xuqy1981/2016_gan_matlab

0.0 1.0 0.0 48.62 MB

Generative Adversarial Nets for Matlab

License: Other

MATLAB 8.26% Makefile 0.75% C++ 1.82% Cuda 2.67% C 13.54% Shell 0.25% Python 1.33% Protocol Buffer 1.47% HTML 68.86% CSS 0.63% Clean 0.06% TeX 0.07% Groff 0.11% Objective-C 0.17%

2016_gan_matlab's Introduction

Generative Adversarial Nets for Matlab

only class 2 with GAN

class 0-9 with infoGAN

I use feature matching to train Generative model. (I define this Loss in the /matlab/+dagnn/Feature_Match_Loss.m)

1.Compile matconvnet by run gpu_compile.m which you should remove comment in it.

2.You can test this code by run test_gan_3.m or test_gan_info.m

3.If you wanna train this code, you can run train_gan_3.m or train_gan_info.m You can find the network structure in GDnet_3.m and GDnet_info.m

Some Details

1.I may miss some thing or not select a good initial parameter. So any advice is welcome.

GDnet_1 is using 32*32 random map as input

GDnet_2 is using 100 random vector and using deconv

GDnet_3 is using 100 random vector and using conv (like fc layer)

In my experiment, deconv show that the output adjacent pixel is likely. So in the minist using conv(fc layer) is better. (deconv may suit for real images such as CIFAR)

2016_gan_matlab's People

Contributors

layumi avatar

Watchers

James Cloos 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.