keras-dcgan

所属分类:人工智能/神经网络/深度学习
开发工具:LINUX
文件大小:907KB
下载次数:7
上传日期:2018-01-02 20:57:22
上 传 者AKONMan
说明:  keras平台下dcgan源码,包含配置文件,py文件,可直接运行训练网络,数据集为mnist手写数据集
(Dcgan source code under the keras platform)

文件列表:
0_0.png (69389, 2017-12-16)
assets (0, 2017-07-21)
assets\generated_image.png (18970, 2017-07-21)
__MACOSX (0, 2018-01-02)
__MACOSX\assets (0, 2018-01-02)
__MACOSX\assets\._generated_image.png (222, 2017-07-21)
assets\nice_generated_image.png (19795, 2017-07-21)
__MACOSX\assets\._nice_generated_image.png (222, 2017-07-21)
assets\training_process.gif (1008180, 2017-07-21)
__MACOSX\assets\._training_process.gif (222, 2017-07-21)
__MACOSX\._assets (222, 2017-07-21)
dcgan.py (6072, 2017-07-21)
__MACOSX\._dcgan.py (222, 2017-07-21)
images (0, 2017-12-16)

## KERAS-DCGAN ## Implementation of http://arxiv.org/abs/1511.0***34 with the (awesome) [keras](https://github.com/fchollet/keras) library, for generating artificial images with deep learning. This trains two adversarial deep learning models on real images, in order to produce artificial images that look real. The generator model tries to produce images that look real and get a high score from the discriminator. The discriminator model tries to tell apart between real images and artificial images from the generator. --- This assumes theano ordering. You can still use this with tensorflow, by setting "image_dim_ordering": "th" in ~/.keras/keras.json (although this will be slower). --- ## Usage **Training:** `python dcgan.py --mode train --batch_size ` python dcgan.py --mode train --path ~/images --batch_size 128 **Image generation:** `python dcgan.py --mode generate --batch_size ` `python dcgan.py --mode generate --batch_size --nice` : top 5% images according to discriminator python dcgan.py --mode generate --batch_size 128 --- ## Result **generated images :** ![generated_image.png](./assets/generated_image.png) ![nice_generated_image.png](./assets/nice_generated_image.png) **train process :** ![training_process.gif](./assets/training_process.gif) ---

近期下载者

相关文件


收藏者