Build Diffusion Models from Scratch with PyTorch

Understand the deep learning principles behind generative AI and code your own models for image synthesis and manipulation.

4.3 (271) ⏱ 34 min 📚 9 lessons 🎧 Audio version

About this course

Ever wondered how AI creates stunning images from simple text prompts? Diffusion models are the core technology, and this course shows you exactly how they work from the ground up, using PyTorch. You will move beyond just using APIs to gain a fundamental understanding of the denoising process that powers modern image generation. By the end of the course, you'll have the skills to implement, train, and experiment with your own diffusion models, giving you a solid foundation in this exciting field of generative AI. What you'll learn: - Understand the core theory of Denoising Diffusion Probabilistic Models (DDPMs). - Build a complete diffusion model from the ground up using PyTorch and the U-Net architecture. - Practice training your models on image datasets to generate entirely new images. - Learn techniques for conditioning your models to allow for text-guided image creation. - Apply fundamental prompt engineering principles to guide and control your model's output. - Explore practical applications like image inpainting to fill in missing parts of a picture. The course begins with the essential mathematical concepts and progresses to hands-on coding exercises where you'll implement and train models piece by piece. You'll read through explanations and apply your knowledge through practical examples. This course is designed for learners with some Python and deep learning familiarity but who are new to diffusion models. No prior experience with generative AI is required to get started. Begin building your generative AI skills today.

What you'll get

  • 📜 Certificate of completion
    Add it to your LinkedIn profile
  • 💬 Personal AI tutor
    Stuck on a lesson? Ask your built-in tutor anything, any time.
  • 🎧 Audio version included
    Learn on the go — no screen needed
  • ♾️ Lifetime access
    Come back anytime, no expiry
  • 📱 Phone or computer
    Works anywhere, any device
  • 💸 30-day refund
    No questions asked
  • Short & focused
    34 min of practical content

Reviews (3)

María José Torres CR
★ 4 · 2025-02-19T11:00:56+00:00

Pretty good foundation. The explanations were generally clear, and the structure made sense. I'd say it's a worthwhile course.

جواهر القطان KW
★ 3 · 2025-01-09T09:00:56+00:00

Really enjoyed this. The pace was perfect for me, and the examples really helped solidify the concepts. Got a lot out of it!

Samrawit Gashaw ET
★ 3 · 2024-12-20T12:55:56+00:00

Hmm, I'm not sure this is for absolute beginners. It assumes a bit of prior knowledge that wasn't explicitly taught. Some examples were confusing.

Write a review

You'll be asked to sign in after sending — your draft is saved.

Learners also took

Frequently asked

What do I need to take this course? +

Just a phone or computer with internet. No installs, no special hardware.

How do I pay? +

By card via Stripe, or with cryptocurrency. We do not store card details — Stripe handles them securely.

Can I get a refund? +

Yes — full refund within 30 days, no questions asked.

How long will I have access? +

Forever. Once you purchase, the course is yours to revisit anytime.

Will I get a certificate? +

Yes. On completion you'll receive a certificate you can add to your LinkedIn profile.

Built for learners in
Tech Design Finance Marketing Healthcare Education Hospitality Manufacturing