https://github.com/karan-malik/simplegans
Using a GAN implemented with Keras to generate images similar to the MNIST Dataset
https://github.com/karan-malik/simplegans
cnn cnn-keras data-science datagenerator deep-learning deep-neural-networks gan gan-keras gan-tensorflow gans keras machine-learning python python3 tensorflow tensorflow2
Last synced: 5 months ago
JSON representation
Using a GAN implemented with Keras to generate images similar to the MNIST Dataset
- Host: GitHub
- URL: https://github.com/karan-malik/simplegans
- Owner: Karan-Malik
- Created: 2020-11-05T13:26:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T11:31:47.000Z (about 5 years ago)
- Last Synced: 2025-01-14T08:52:28.344Z (about 1 year ago)
- Topics: cnn, cnn-keras, data-science, datagenerator, deep-learning, deep-neural-networks, gan, gan-keras, gan-tensorflow, gans, keras, machine-learning, python, python3, tensorflow, tensorflow2
- Language: Jupyter Notebook
- Homepage:
- Size: 198 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# General Adversarial Networks (GAN)
Using a GAN implemented with Keras to generate images similar to the MNIST Dataset
## What are GANs?
Generative adversarial networks (GANs) are a type of deep neural network used to generate synthetic images. The architecture comprises two deep neural networks, a generator and a discriminator, which work against each other (thus, “adversarial”). The generator generates new data instances, while the discriminator evaluates the data for authenticity and decides whether each instance of data is “real” from the training dataset, or “fake” from the generator.
Together, the generator and discriminator are trained to work against each other until the generator is able to create realistic synthetic data that the discriminator can no longer determine is fake. After successful training, the data produced by the generator can be used to create new synthetic data, for potential use as input to other deep neural networks. [Read More](https://in.mathworks.com/discovery/generative-adversarial-networks.html)
## Dataset Used
Dataset used is the popular MNIST Digit dataset. The dataset is pre-loaded into the keras library and can be used by importing it from keras.
## Results
The following is a set of 25 images produced by the GAN after 38000 epochs:

Epoch wise images produced by the GAN are stored in the folder 'gan_images'.