1 Star 0 Fork 0

Ji Hongchao / GAN-in-keras-on-mnist

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

GAN-in-keras-on-mnist

A GAN approach for generating handwritten digits with a deep neural network written in Keras.

In both notebooks, the MNIST dataset is used. A generative adversarial network (GAN) is deployed to create unique images of handwritten digits. The generated images look like they're taken from the dataset (that is the purpose), but they are generated from scratch (actually, from noise) and are all unique.

GAN block diagram

2 models

In GAN-keras-mnist-MLP.ipynb, a multilayer perceptron network is used for the generator and the discriminator In GAN-keras-mnist-DCGAN.ipynb, a transposed convolutional (or deconvolutional) network is used for the generator and a regular convolutional network is used for the discriminator.

Otherwise, the approach is kept the same

Samples

You can see some generated samples within each of the notebooks

Known issues

Further experimentation is required.

  • Make the discriminator layers untrainable while training the entire GAN stack. Can d.trainable = False be used, or is it required to set each layer's trainiable attribute to False?
  • Why is the DCGAN generator not producing different digits with uniform frequencies? Some digits occur more than others.

空文件

简介

A GAN approach in keras on the mnist dataset using only MLP's 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/hcji/GAN-in-keras-on-mnist.git
git@gitee.com:hcji/GAN-in-keras-on-mnist.git
hcji
GAN-in-keras-on-mnist
GAN-in-keras-on-mnist
master

搜索帮助