Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/annettaqi/images-generation-using-gan-and-vae
Generate handwritten digits images using generative adversarial network
https://github.com/annettaqi/images-generation-using-gan-and-vae
generative-adversarial-network vae-pytorch variational-autoencoder
Last synced: about 1 month ago
JSON representation
Generate handwritten digits images using generative adversarial network
- Host: GitHub
- URL: https://github.com/annettaqi/images-generation-using-gan-and-vae
- Owner: AnnettaQi
- Created: 2024-10-17T14:08:53.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-17T14:25:52.000Z (3 months ago)
- Last Synced: 2024-10-19T20:32:30.447Z (3 months ago)
- Topics: generative-adversarial-network, vae-pytorch, variational-autoencoder
- Language: Jupyter Notebook
- Homepage:
- Size: 3.99 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The respository is about:
Implement a variational auto-encoder (VAE) and a generative adversarial network (GAN) in PyTorch to generate images similar to those in the MNIST dataset.
As a starting point, a deterministic auto-encoder (DAE) achieves good reconstruction of the original images, they struggle to generate new images that are similar to those in MNIST.
so, here implement a VAE and GAN to generate better images.
Part 1: vae_skeleton.ipynb
Part 2: gan_skeleton.ipynb
Part 1:
VAE implementation in vae_skeleton.ipynb.
Two graphs that each contain 2 curves (DAE and VAE). The first graph displays the training reconstruction loss and the second graph displays the testing reconstruction loss. In both graphs, the y-axis is binary cross entropy and the x-axis is the number of epochs.
Print a sample of generated images after each epoch of training for both DAEs and VAEs.
Explanation of the results (i.e., compare and explain the binary cross entropy and the quality of the sampled images generated by DAEs and VAEs).Part 2:
GAN implementation in gan_skeleton.ipynb.
Two graphs that each contain 2 curves (Generator and Discriminator losses). The first graph displays the training loss and the second graph displays the testing loss. In both graphs, the y-axis is binary cross entropy and the x-axis is the number of epochs.
Print a sample of generated images after each epoch of training for GAN.
Explanation of the results (i.e., compare and explain the quality of the sampled images generated by VAEs and GANs).