Skip to content

PratikHdhameliya/Variational_Autoencoder_for_Deep_Generative_Modeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Variational-Autoencoder-for-Deep-Generative-Modeling-on-Fashion-MNIST

Variational Autoencoder (VAE) project using PyTorch, showcasing generative modeling through Fashion MNIST data encoding, decoding, and latent space exploration. Explore tasks like model implementation, training, visualization, and image generation.


🚀 Project Overview

A Variational Autoencoder (VAE) is a type of generative model that can synthesize new data samples based on learned representations. This project focuses on encoding Fashion MNIST images into a compressed latent space and generating realistic images from these representations.


📋 Tasks and Objectives

TASK 1: Implement the VAE Model

  • Build an encoder and decoder using convolutional layers.
  • Implement latent space sampling using the reparameterization trick.

TASK 2: Train the Model

  • Train the VAE using the Fashion MNIST dataset.
  • Monitor and visualize training and test set losses.

TASK 3: Optimize Latent Space Dimensionality

  • Experiment with various latent space dimensions (2, 4, 8, 16, 32).
  • Evaluate reconstruction quality and test set loss.

TASK 4: Visualize Latent Traversals

  • Generate images by varying single and multiple latent dimensions.
  • Explore effects of specific latent variables on output.

TASK 5: Visualize Class Labels in Latent Space

  • Train a VAE with a 2D latent space.
  • Plot latent space representations of different Fashion MNIST classes.

TASK 6: Generate and Reconstruct Images

  • Decode random samples from the latent space.
  • Compare original images with reconstructed outputs.

📊 Example Results

  • Image Reconstruction: Comparing original vs. reconstructed images.
  • Latent Traversals: Visualizing changes when traversing the latent space.
  • Class Separation: Latent space visualizations of Fashion MNIST classes.

🤝 Contributing

Contributions are welcome! Follow these steps:

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature-name).
  3. Commit your changes (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature-name).
  5. Submit a pull request.

💡 Let's build and explore the power of generative models together!

About

Variational Autoencoder (VAE) project using PyTorch, showcasing generative modeling through Fashion MNIST data encoding, decoding, and latent space exploration. Explore tasks like model implementation, training, visualization, and image generation.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors