? Module 1 - Latent Space Representation - Step-By-Step Guide
? Module 1 - Latent Space Representation - Step-By-Step Guide
– Step-by-Step Guide
🎯 Learning Objectives
By the end of this module, you will be able to:
🧩 Pre-requisites
Ensure you have the following:
📦 Dataset
Use MNIST (28x28 grayscale images of digits 0–9) for simplicity.
✅ Step-by-Step Instructions
✅ Step 1: Build a Basic Autoencoder (AE)
1.1 Define AE architecture
Use BCELoss and Adam optimizer. Track the loss across epochs.
📌 Module Deliverables
● 📈 Loss Curves: Plot for both AE and VAE training
● 🌐 2D Latent Plots: Use t-SNE or PCA with color-coded classes
● 🖼️ Reconstructions: Side-by-side of Original, AE output, VAE output
● ➕ (Bonus) Latent Interpolation: Show how AEs/VAE “morph” digits
✅
📁
Recommended Submission Format
Module1/
├── ae_model.py
├── vae_model.py
├── latent_plot.png
├── reconstructions.png
├── loss_curves.png
└── report.md (1–2 pages summary)