2016_GAN_Matlab-master

所属分类:人工智能/神经网络/深度学习
开发工具:matlab
文件大小:53526KB
下载次数:250
上传日期:2017-10-04 22:15:11
上 传 者leighby
说明:  GAN的matlab版本,用于图像分类和生成
(The matlab version of GAN is used for image classification and generation)

文件列表:
CONTRIBUTING.md (1562, 2017-03-08)
COPYING (735, 2017-03-08)
GDnet.m (2451, 2017-03-08)
GDnet_2.m (3414, 2017-03-08)
GDnet_3.m (3535, 2017-03-08)
GDnet_info.m (3858, 2017-03-08)
Makefile (11521, 2017-03-08)
doc (0, 2017-03-08)
doc\Makefile (3891, 2017-03-08)
doc\blocks.tex (28930, 2017-03-08)
doc\figures (0, 2017-03-08)
doc\figures\imnet.pdf (18884, 2017-03-08)
doc\figures\pepper.pdf (702358, 2017-03-08)
doc\figures\svg (0, 2017-03-08)
doc\figures\svg\conv.svg (68592, 2017-03-08)
doc\figures\svg\convt.svg (65347, 2017-03-08)
doc\figures\svg\matconvnet-blue.svg (6561, 2017-03-08)
doc\figures\svg\matconvnet-white.svg (6734, 2017-03-08)
doc\fundamentals.tex (33879, 2017-03-08)
doc\geometry.tex (16542, 2017-03-08)
doc\impl.tex (20089, 2017-03-08)
doc\intro.tex (18876, 2017-03-08)
doc\matconvnet-manual.tex (4070, 2017-03-08)
doc\matdoc.py (7046, 2017-03-08)
doc\matdocparser.py (11108, 2017-03-08)
doc\references.bib (2729, 2017-03-08)
doc\site (0, 2017-03-08)
doc\site\docs (0, 2017-03-08)
doc\site\docs\about.md (8605, 2017-03-08)
doc\site\docs\css (0, 2017-03-08)
doc\site\docs\css\fixes.css (2957, 2017-03-08)
doc\site\docs\developers.md (3393, 2017-03-08)
doc\site\docs\faq.md (2147, 2017-03-08)
doc\site\docs\figures (0, 2017-03-08)
doc\site\docs\figures\stn-perf.png (59846, 2017-03-08)
... ...

# Generative Adversarial Nets for Matlab only class 2 with GAN ![](https://github.com/layumi/2016_GAN_Matlab/blob/master/show.png) class 0-9 with infoGAN ![](https://github.com/layumi/2016_GAN_Matlab/blob/master/show2.png) 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. 2. 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) # I have give up this code, you may try the code in tensorflow. I am sorry for that. I think my GAN training code on github is not good enough to rehearsal the result in the original paper. In fact, I give up my code and turn to use the dcgan wrote in the tensrflow. The code url is https://github.com/carpedm20/DCGAN-tensorflow. You may try it. Recently I also test the code for wgan. https://github.com/martinarjovsky/WassersteinGAN Its also awesome. I hope it can help you.

近期下载者

相关文件


收藏者