Skip to content

Notebook Tutorials for Diffusion Models and Score-based Models using PyTorch.

License

Notifications You must be signed in to change notification settings

caetas/GenTutorials

Repository files navigation

Python

Generative Tutorials

Notebook Tutorials for Diffusion Models and Score-based Models using PyTorch.

Prerequisites

You will need:

  • conda
  • Git

Optional:

  • NVIDIA Drivers and CUDA >= 12.1

Installation

Clone this repository (requires git ssh keys)

git clone https://github.com/caetas/GenTutorials.git 
cd gentutorials

Normal Installation

conda env create -f environment.yml
conda activate python3.10

On Linux

You can setup the virtualenv by running the following commands:

python -m venv .venv-dev
source .venv-dev/bin/activate
python -m pip install --upgrade pip setuptools
python -m pip install -r requirements.txt

On Windows

You can setup the virtualenv by running the following commands:

python -m venv .venv-dev
.venv-dev/Scripts/Activate.ps1
python -m pip install --upgrade pip setuptools
python -m pip install -r requirements.txt

Notebooks

The Diffusion Notebook covers Denoising Diffusion Probabilistic Models (DDPMs) and Denoising Diffusion Implicit Models (DDIMs).

The Score-Based Notebook covers Score Matching Models (SMs) and Flow Matching Models (FMs).

Extra Resources

Please also consider checking the GenerativeZoo.

About

Notebook Tutorials for Diffusion Models and Score-based Models using PyTorch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published