Skoltech project on Variational Autoencoders (VAEs) - a machine learning technique for learning compressed representations of data. This project includes implementations for Colored MNIST dataset.
Download this project to your computer:
git clone https://github.com/ssslakter/vae-project.git
cd vae-projectYou need to install dependencies. Choose one method:
Pixi is similar to conda and automatically manages all dependencies for you:
pixi install
pixi shell -e dev # will also install jupyter into venvCreate an isolated Python environment and install dependencies:
python -m venv venv # Create isolated environment
source venv/bin/activate # Activate it
pip install . # Install the projectnotebooks/- Interactive Jupyter notebooks to run experimentsvae_project/- Main code packagemodels/- The VAE neural network architecturedataset/- Code to load and prepare datasetstrain/- Training scripts and monitoring tools
data/- Contains the image datasets used for training
If you want to make things easier when updating notebooks and make sure you don't commit your metadata (cell execution num, timestamps, etc.) changes, you can use cli tool called nbdev.
To clean metadata in all notebooks, run (it will keep all outputs, cells and you can continue to use the notebook):
nbdev_clean --fname .It's already in optional dependencies and you can use it inside pixi shell. Or you can also install it with pip install nbdev.