Skip to content

Repository files navigation

Density estimation using Diffusion models (Pytorch + Jax/Haiku/Optax)

I will be demonstrating critical concepts of the diffusion model using a toy 2D distribution first, followed by using the same concepts on the EMNIST datasets.

Completed the following

Unexplored ideas

NotebookGithub LinkColab
Basic: Predicting Original DistributionVanilla ImplementationColab (Large)
Predicting Error and Score FunctionError / Score PredictionColab (Large)
Classifier free Guidance and other improvementsAdvanced conceptsColab (Large)
EMINST De-noising and Conditional generationColab EMNISTColab (Large)Colab (Small)

Generating names using EMNIST

Conditional denoising using the trained UNet model

alt textalt text

alt text

alt text

alt text

Generation toy distributions using diffusion models

Parabola

alt text

Circles

alt text

Half Moon

alt text

Circles + half-moon

alt text

Circles + moon using Clipping

alt text

Generating class-conditioned distributions

alt text

Generating class-conditioned distributions (few shots only using 2k samples)

alt text

About

Experiment with diffusion models that you can run on your local jupyter instances

Topics

Resources

Stars

67 stars

Watchers

1 watching

Forks

Contributors

Languages