Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/somjit101/dcgan-gradient-tape
A study of the use of the Tensorflow GradientTape class for differentiation and custom gradient generation along with its use to implement a Deep-Convolutional Generative Adversarial Network (GAN) to generate images of hand-written digits.
https://github.com/somjit101/dcgan-gradient-tape
batch-normalization convolutional-layers dcgan-tensorflow deconvolution dropout-layers gan generative-adversarial-network gradient-tape keras-tensorflow mnist-dataset neural-network tensorflow transpose-convolution
Last synced: 20 days ago
JSON representation
A study of the use of the Tensorflow GradientTape class for differentiation and custom gradient generation along with its use to implement a Deep-Convolutional Generative Adversarial Network (GAN) to generate images of hand-written digits.
- Host: GitHub
- URL: https://github.com/somjit101/dcgan-gradient-tape
- Owner: somjit101
- Created: 2021-09-21T16:07:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-22T16:26:35.000Z (over 3 years ago)
- Last Synced: 2024-11-16T03:29:39.888Z (3 months ago)
- Topics: batch-normalization, convolutional-layers, dcgan-tensorflow, deconvolution, dropout-layers, gan, generative-adversarial-network, gradient-tape, keras-tensorflow, mnist-dataset, neural-network, tensorflow, transpose-convolution
- Language: Jupyter Notebook
- Homepage:
- Size: 181 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DCGAN-Gradient-Tape
A study of the use of the Tensorflow GradientTape class for differentiation and custom gradient generation along with its use to implement a Deep-Convolutional Generative Adversarial Network (GAN) to generate images of hand-written digits.## Overview
* Here, we examine in detail the uasge of **GradientTape**, a custom differentiation class by Tensorflow which allows us to calculate the derivative of complex functions programmatically. This has immense applications in Deep Learning as we can build customer hidden layers in Neural Networks and specify how the gradients of the loss function are calculated during the training phase.
([Source](https://www.tensorflow.org/api_docs/python/tf/GradientTape))* We have also studied an implementation of a [Generative Adversarial Network](https://arxiv.org/abs/1406.2661) (**GAN**) to accept noise vector as an input to the Generator and output synthetically generated images of hand-written digits, similar to the ones on the [MNIST Dataset](http://yann.lecun.com/exdb/mnist/). We will be looking at a specific variation called Deep Convolutional Generative Adversarial Network (DCGAN) for this task.
([Source](https://www.tensorflow.org/tutorials/generative/dcgan))## Dataset
We have used the renowned [MNIST Handwritten Digits Dataset](http://yann.lecun.com/exdb/mnist/) containing 60,000 train samples and 10,000 test samples of 28x28 grayscale images depicting numerical digits written by a huge number of human subjects.
## References
* [Applications of GANs](https://medium.com/@jonathan_hui/gan-some-cool-applications-of-gans-4c9ecca35900)
* [GAN Tricks and Hacks](https://github.com/soumith/ganhacks)
* [MNIST GAN Code Example](https://medium.com/datadriveninvestor/generative-adversarial-network-gan-using-keras-ce1c05cfdfd3)
* [Stanford Course on Deep Generative Models](https://deepgenerativemodels.github.io/)
* [Keras Implementations of Various GAN architectures](https://github.com/eriklindernoren/Keras-GAN)