Bare-bones Diffusion Models
To understand how diffusion models generate images, I wrote code for training a bare-bones diffusion model without all the fanciness (no “epsilon parameterization”, no “Gaussian conditionals”, no sqrt_one_minus_alphas_cumprod). Based on that code, I trained a tiny diffusion model that generates 512×512 botanical images in your web browser. You can play with that demo here. So... how do diffusion models generate images? Why are these images as good as they are, and not better (or worse)? And... if we’re talking about conjuring new images from nothingness, what does “better” even mean? The image generation task is: given only some random noise as input, generate new images. Furthermore, generated images should look “real” (when compared to some reference dataset of, you know, actually-real images). Ideally, we want an image generator to exhibit: An archetypal “boring” task is image classification. It feels contrived (just look at those categories) and it also feels too easy (even a child
Bare-bones Diffusion Models Bare-bones Diffusion Models 05 February 2023 To understand how diffusion models generate images, I wrote code for training a bare-bones diffusion model without all the fanciness (no "epsilon parameterization", no "Gaussian conditionals", no sqrt_one_minus_alphas_cumprod ). Based on that code, I trained a tiny diffusion model that generates 512×512 botanical images in your web browser. You can play with that demo here . So... how do diffusion models generate images? Why are these images as good as they are, and not better (or worse)? And... if we're talking abo
Explore this link on the map →saved by
related reading
- Yang Songyang-song.net
- ⭐️ Diffusion Modelsandrewkchan.dev
- What are Diffusion Models? | Lil'Loglilianweng.github.io
- An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversiontextual-inversion.github.io
- Diffusion models from scratchchenyang.co
- Machina Lucida: Reflections on Artificial Images by Lucas Gelfondspikeartmagazine.com
- The Illustrated Stable Diffusion – Jay Alammar – Visualizing machine learning one concept at a time.jalammar.github.io
- Diffusion Models in AI – Everything You Need to Know – Unite.AIunite.ai
- [2006.11239] Denoising Diffusion Probabilistic Modelsarxiv.org
- Diffusion model - Wikipediaen.wikipedia.org
- The Physics Principle That Inspired Modern AI Art | WIREDwired.com
- [2010.02502] Denoising Diffusion Implicit Modelsarxiv.org