Diffusion model forward

Posted by Hao Do on August 24, 2023

Diffusion model forward

Code

It includes notebooks that can be run stand-alone:

  1. Open In Collab 01-Diffusion-Sandbox - visualizations of the diffusion process
  2. Open In Collab 02-Pixel-Diffusion - basic diffusion suitable for low-resolution data
  3. Open In Collab 03-Conditional-Pixel-Diffusion - image translation with diffusion for low-resolution data
  4. Open In Collab 04-Latent-Diffusion - latent diffusion suitable for high-resolution data
  5. Open In Collab 05-Conditional-Latent-Diffusion - image translation with latent diffusion

Dependencies

Assuming torch and torchvision is installed:

1
pip install pytorch-lightning==1.9.3 diffusers einops

:bulb: Notes

Short summary notes are released as part of this repository and they overlap semantically with the notebooks!

  1. 01-Diffusion-Theory - visualizations of the diffusion process
  2. 02-Pixel-Diffusion - basic diffusion suitable for low-resolution data
  3. 03-Conditional-Pixel-Diffusion - image translation with diffusion for low-resolution data
  4. 04-Latent-Diffusion - latent diffusion suitable for high-resolution data
  5. 05-Conditional-Latent-Diffusion - image translation with latent diffusion

Tài liệu tham khảo

Internet

Hết.