How Diffusion Models Work

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 มิ.ย. 2024
  • In this video, we'll take a deep dive into the inner workings of diffusion models, the state-of-the-art approach for generating realistic and diverse images.
    00:00 Introduction
    00:27 How Diffusion Models Work
    01:07 Denoising Images with U-Net
    02:03 Noise Prediction and Removal
    03:30 Sampling in Inference and Training
    04:02 Time Step Encoding
    04:30 Stable Diffusion and Others
    05:01 Latent Diffusion
    06:25 Image to Image, Inpainting, Outpainting
    06:50 Generating Images with Text Prompts
    08:04 Classifier-free Guidance and Negative Prompts
    09:11 Conclusion
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 30

  • @ShrirangKanade
    @ShrirangKanade หลายเดือนก่อน

    LOVED THE EXPLANATION

  • @Opinionman2
    @Opinionman2 27 วันที่ผ่านมา

    Awesome explanation dude.

  • @hardslaps
    @hardslaps 8 หลายเดือนก่อน +2

    I'm sure you get a lot of comments like this, but I've been binging MKBHD vids and saw him recommend your video about compression. I watched it and was so impressed by how well you explained it and am equally impressed with this one. Especially to someone like me who has very basic understanding of the concepts. Can't wait to binge more of your videos now! Subscribed 😃

    • @leoisikdogan
      @leoisikdogan  8 หลายเดือนก่อน +2

      Thanks for your kind words and for subscribing! Being recommended by MKBHD was such a nice surprise. I hope you enjoy the rest of the content! 😃

    • @nguyengiorno9026
      @nguyengiorno9026 6 หลายเดือนก่อน

      ​@@leoisikdoganhow can i donate to support

  • @LilianBoulard
    @LilianBoulard ปีที่แล้ว +4

    Cristal clear explanation, thanks a lot!
    With the recent release of Meta's SAM, I was wondering it was feasible to make an improved text embedding model (i.e., CLIP) by, instead of classifying the image with a sentence, creating bounding boxes and applying a mask with different weights to indicate exactly where's a specific object in the image.
    For example, in the image with the white dog on the beach, for the description "samoyed dog", pixels "making up" the dog would have a weight of 1.0, while others would have a weight of 0.
    I'd be interested to know what you think, I'm quite unfamiliar with how these embedding models work :)

    • @leoisikdogan
      @leoisikdogan  ปีที่แล้ว

      Thanks! That's an interesting idea! Given the scale of training data, my guess is that it wouldn't make much of a difference for CLIP. It may be useful when training domain-specific models with limited data though. With dense, segmentation labels, we would get more information from fewer images.

  • @user-uc8nn9kf8l
    @user-uc8nn9kf8l 3 หลายเดือนก่อน

    you have explained so well, i have seen so many videos , but, the way you explain from start to end is vary relative to what we are learning. very very good explanation about stable diffusion work-flow.

  • @Hirenpatel-cx8xh
    @Hirenpatel-cx8xh ปีที่แล้ว

    Great Explanation!!

  • @Roman-ki9dv
    @Roman-ki9dv ปีที่แล้ว

    Awesome stuff man! I really wanted to know how these work but was to lazy to look it up myself. The video makes it much easier.

    • @leoisikdogan
      @leoisikdogan  ปีที่แล้ว

      Thanks! I'm glad you found the video helpful!

  • @ge926
    @ge926 ปีที่แล้ว

    added to watch later! im sure its amazing as usual

    • @leoisikdogan
      @leoisikdogan  ปีที่แล้ว

      I hope you enjoy the video when you get a chance to watch it!

  • @peterl7175
    @peterl7175 ปีที่แล้ว

    Great explanation Leo

  • @aloglute
    @aloglute 4 หลายเดือนก่อน

    Çok iyi açıklamışsın valla daha önce izlemediğim için üzüldüm ❤

  • @north1037
    @north1037 11 หลายเดือนก่อน

    Merhabalar hocam bir sorum olacak sizlere
    Türkiyede bir devlet ünide yazılım mı okusam bitirdikten hemen sonra yurtdışına çıksam (pasaportum var) mantıklı mı yani gelecegi var mı yoksa diş hekimliği mi mantıkı

  • @canxkoz
    @canxkoz ปีที่แล้ว

    Great explanation! Would you consider covering “DreamFusion: Text-to-3D using 2D Diffusion“ on your next video?

    • @leoisikdogan
      @leoisikdogan  ปีที่แล้ว +1

      Thanks! DreamFusion is indeed a good one. I probably won't have time to make new videos anytime soon though.

  • @karthik8972
    @karthik8972 9 หลายเดือนก่อน

    Thanks Leo for the video, the concept of converting noised image to a clear image is understood.
    How does it creates a image which doesn't exist in its training ?
    It is understood that the model doesn't understand the concepts of the image and only focuses on the patterns.
    But how is the below operations performed,
    1. Creating a cartoon image of cat based on caption ex: Place a hat on top of cat
    How does it creates a cartoon image of cat ?
    How does it know the exact location of cat's head ?
    How does it know to place the hat exactly at the head ?
    2. A closeup shot of a dog facing the sun
    How does it knows to create a close shot of a dog ?
    How does it know to place the sun in the background ?
    How it makes the the object to turn towards the sun ?
    No videos exist to explain this concept. It would be of great help if you could make a video on this.

    • @leoisikdogan
      @leoisikdogan  9 หลายเดือนก่อน

      Sure :) the short answer to your questions is cross-attention. The U-Net based generator is conditioned on text embeddings. Spatial attention softmax(K Q) determines where input text (e.g. cat, hat, etc) attends to.

  • @baluasonnhavlog7267
    @baluasonnhavlog7267 7 หลายเดือนก่อน

    Xin chào bạn nhé, cảm ơn bạn đã chia sẻ, chúc sức khỏe bạn nhé, lúa chúc cả nhà xem video vui vẻ nha, chúc sức khỏe cả nhà ▶️👍👉🔔👈🤝🥰🥰🥰🥰🥰🥰🥰🥰🥰

  • @samabd4998
    @samabd4998 ปีที่แล้ว

    Your videos are amazing and well prepared. Please could you guide me how can I becoming expert in computer vision?

    • @leoisikdogan
      @leoisikdogan  ปีที่แล้ว

      Thanks! There are many paths to becoming an expert in computer vision or any other field, including taking courses, reading books and research papers, and practicing coding. If you already have some background in the field, I would recommend looking at papers with code. Good luck!

    • @samabd4998
      @samabd4998 ปีที่แล้ว

      @@leoisikdogan thank you for you responses. As you are expert and you have time please prepare videos about future trending and appliations of Deep learning. Thanks!

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w ปีที่แล้ว

    I think more context would be helpful. Some parts could help with more explanation

    • @leoisikdogan
      @leoisikdogan  ปีที่แล้ว

      Thanks for the feedback. This video was indeed a bit denser than usual since I tried to fit a lot of information in 10 minutes. You can check out my Deep Learning Crash Course and Image and Video Processing series for more introductory videos.

  • @SnoopyDoofie
    @SnoopyDoofie ปีที่แล้ว

    This video doesn't show up in your TH-cam channel. I got here from a web page that embeds your video. I assume you have the video as "unlisted". If you want more views, you should change it to "public", otherwise very few people will find it.

    • @leoisikdogan
      @leoisikdogan  ปีที่แล้ว

      Yes, I unlisted it for the time being due to a situation outside my control. Hopefully, I’ll be able to make it public soon.