A Friendly Introduction to Generative Adversarial Networks (GANs)

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024
  • Code: www.github.com/...
    What is the simplest pair of GANs one can build? In this video (with code included) we build a pair of ONE-layer GANs which will generate some simple 2x2 images (faces).
    Grokking Machine Learning Book: www.manning.co...
    40% discount promo code: serranoyt
    GANs from Scratch 1: A deep introduction. With code in PyTorch and TensorFlow: / gans-from-scratch-1-a-...

Комментарии • 295

  • @dyoolyoos
    @dyoolyoos 4 года назад +83

    You sir are a fantastic teacher. No fancy gimmicks, no catch phrases. Just pure talent. Hoping to collaborate with you!

  • @DodaGarcia
    @DodaGarcia 3 года назад +42

    As a beginner in ML a lot of this still went over my head but it's the most accessible video I've found yet on GANs! Thank you so much

  • @reverse_engineered
    @reverse_engineered 4 года назад +41

    This is one of the best explanations I have ever seen. You manage to cover the goal and the method intuitively, mathematically, and programmatically, and you did it with a concrete example that was simple enough to work out by hand. I also appreciate that you showed how we might code the rules for a solution, and then showed how are would program a machine learning approach to come up with a similar solution. I hope you continue to make more excellent videos like this!

  • @denismoura5374
    @denismoura5374 3 года назад +9

    My fellow data scientists were all about GANs, so I went to learn something about it so I know where I stand in regards of synthetic data. And I'm glad I stumbled upon your video. What a great introduction to the topic! I feel I understand a lot more of what has been said and done about GANs now. Thank you!

  • @DienTran-zh6kj
    @DienTran-zh6kj 3 месяца назад +2

    I love his teaching, he makes complex things seem simple.

  • @YWCKOK
    @YWCKOK Год назад +3

    Amazing summary of GANs with the simplest but concise explanations. Thank you!

  • @tianqilong8366
    @tianqilong8366 4 месяца назад

    mad respect to you for explaning neural network so clear in 20 minutes, actually amazing

  • @carolinagijon967
    @carolinagijon967 2 года назад +4

    Thank you for the clear explanation. Just a couple of comments:
    a) In 6:35, I think it should be -1.5 (not -0.5)
    b) When creating the discriminator, if the bias is -1 then the threshold between good/bad images should be lower than 1. Otherwise some of the real faces would be labelled as false…

  • @meghanaiitb
    @meghanaiitb 2 года назад +3

    This channel’s been a gem of a find, always a go to source to refresh seemingly complex algorithms in an absurdly intuitive way. Thank you, Luis.

  • @blesucation4417
    @blesucation4417 10 месяцев назад +1

    Just want to leave a comment so that more people could learn from your amazing videos! Many thanks for the wonderful and fun creation!!!

  • @kanabana3995
    @kanabana3995 3 года назад

    Finally Gan math explained is the most elegant way..Thank you Sir

  • @nzambabignoumba445
    @nzambabignoumba445 2 года назад +1

    Mr Serrano thank you for existing.

  • @KuliahInformatika
    @KuliahInformatika 2 года назад

    very nice explanation... I started learning GAN from zero, only have basic understanding about CNN. and from this video, I now understand how GAN works. Thank you

  • @glowish1993
    @glowish1993 Месяц назад

    Best video on GAN explanation hands down

  • @amirnasser7768
    @amirnasser7768 3 года назад +5

    Thank you Luis for the simplified and very clear explanation. Finally, I feel that I can confidently understand the how GANs work. I also really liked the idea of the simple toy examples that you usually start to explain the complicated concepts.

  • @gunamrit
    @gunamrit 4 месяца назад

    getting to see this after a heavy day at work is refreshing..
    Thank you so much for sharing

  • @jamespaladin607
    @jamespaladin607 2 года назад

    brilliance is the ability to take the complex and reduce it to simplicity. Brilliant work!

  • @razterizer
    @razterizer 3 года назад

    The best video so far that I have come across. It is very annoying that so many videos that teach ML uses some API (e.g. Keras) to give examples. It teaches how to use the API but it does not teach you how it really works. I wish more used this awesome method to teach concepts in ML.

  • @amiralx88
    @amiralx88 2 года назад

    You really have a special talent to generalize and explain complex concept. You go through every questions that we could think about during your explanations and all of them are answered with such pedagogy.

  • @vaishnavejp9247
    @vaishnavejp9247 8 месяцев назад

    THIS IS SOOOOOOOOOOO DAMN GOOD. thanks a lot man. totally understood gans without even a computer vision background

  • @localexpert969
    @localexpert969 2 года назад

    No words would appreciate this rich explanation. I do like the visuals, mathematics and codes when they come together. Also, Your language was easy and smooth. You made the complex topic so easy to comprehend. Great thanks.

  • @ernestoporrascollantes7921
    @ernestoporrascollantes7921 Год назад

    Senor Luis Serrano: Ud. ha hecho una excelente demostración pedagógica sobre un tema que otros han convertido en mistificación. Trabajo en la interpretación de Edipo Rey, de Sófocles, y estoy tratando de traducir mis conocimientos sobre la comunicación hecha por un texto literario clásico que "pinta" los rasgos de sus personajes mediante relaciones opuestas, principalmente, análogas a las de los slanted portraits de los "retratos" usados por Ud. Muchos de esos "retratos" se acercan a las imágenes que Ud. llamaría "noisy" hasta el extremo de ser desechables por su policía ... y por mí. Quiero decir que, no solo en esto, sino en otros muchos aspectos, encuentro un acercamiento entre la herramienta matemática por Ud. expuesta y la que yo quiero usar ... pero no soy matemático. A pesar de ello, gracias a mi búsqueda serendípica, he logrado encontrarme con su Serrano.Academy, y seguiré orientándome por sus lecciones, con agradecimiento.

  • @jicabe577
    @jicabe577 10 месяцев назад

    By far, the best explanation of GANS ever! Well done, sir. Many, many thanks!!!!

  • @tiagosilvacarvalho5830
    @tiagosilvacarvalho5830 Год назад

    One of the best explanations of the subject I have ever seen, congratulations, you are an excellent teacher!

  • @neelanjanmanna6292
    @neelanjanmanna6292 4 года назад

    The most informative and intuitive explanation of GANs, for a beginner this video is priceless as all other resources aren't so patient with the critical details and steps which doesn't help with the learning process

  • @xiongyujasperchen3154
    @xiongyujasperchen3154 2 месяца назад

    So well explained that makes it easy to understand GAN. Thank you. Big thumb up.

  • @chetantanwar8561
    @chetantanwar8561 4 года назад +6

    plz sir, make more videos frequently your way of teaching is the blow of the mind it is osm....

    • @SerranoAcademy
      @SerranoAcademy  4 года назад +2

      Thank you Chetan! Trying to make them more often :)

  • @bhuwandutt628
    @bhuwandutt628 2 года назад

    Love that you broke down of concepts to micro level. Made the understanding of GAN's so simple and yet detailed. Appreciate it.

  • @vallurirajesh
    @vallurirajesh 3 года назад

    I had to watch this video a few times, pause and rewind etc. but it did help me understand the intricacies of GANs. Thank you very much.

  • @Archeoscratcher
    @Archeoscratcher 2 года назад +1

    Thanks for the slow transition and yeah i am not really good in maths and not yet much into more harder python. Its really useful than other videos out there.

  • @BasmaSAYAH-vp7vo
    @BasmaSAYAH-vp7vo 8 месяцев назад

    Awsome, you make neural networks easy and interesting.
    Thank you 🙏🏻

  • @cristianarteaga
    @cristianarteaga 4 года назад +9

    What a great explanation! It's amazing how you teach complex concepts in such an easy way. I have learned a lot from your videos. Mil gracias!

  • @jesusantoniososaherrera2217
    @jesusantoniososaherrera2217 2 года назад

    Great explanation! Cheers to all slantland people!!

  • @martaduarteteixeira8336
    @martaduarteteixeira8336 4 месяца назад

    Uau! Amazing! Thanks for the simplest explanation I've ever seen 🙂

  • @4artificial-love
    @4artificial-love 4 года назад

    BRAVO! BRAVO! You are really the Grand Master Explaining Machine Learning! Let me tell you why? about 2 years ago, when I was looking to learn python I also was looking to learn the process of coding a machine learning python script. By that time, I remember searching watching a lot of videos of machine learning, but things were very fuzzy since most people the people just talk and talk and talk and repeat what others said, but no one explained the real roots of the process of it until I found your Videos explaining the real process in calculating the weights, and until that day my head was able to understand the REAL process of creating the code. And here I am 2 years later, breaking my head with how a GAN really works or how is made, and BANG! I just finished washing about 40 videos and NO ONE BUT YOU EXPLAINED SO WELL, that is why you are the MASTER in explaining Machine Learning! BRAVO! BRAVO! God Bless You, Luis!!!! What could be my life without you!!! Thank you a million times!.

    • @SerranoAcademy
      @SerranoAcademy  3 года назад

      Thank you Alex, that's so nice to hear! It's an honor to be part of your machine learning journey!

  • @KumR
    @KumR 8 месяцев назад

    Loved the Slanting people demo... Thanks Luis.

  • @mr.dineshlee
    @mr.dineshlee 7 месяцев назад

    This is how the teachers explain, thanks a lot

  • @gumikebbap
    @gumikebbap 4 года назад +26

    ooooh I knew your voice sounded familiar! I'm doing your pytorch course

    • @chawza8402
      @chawza8402 3 года назад

      where is the course? I can't find it in the channel

    • @gumikebbap
      @gumikebbap 3 года назад

      @@chawza8402 try on google then

    • @chawza8402
      @chawza8402 3 года назад +1

      @@gumikebbap turns out he is the lead instructor on pytorch Udemy Course. and its free!

    • @patrickbateman7665
      @patrickbateman7665 3 года назад

      @@chawza8402 Link Please

    • @SerranoAcademy
      @SerranoAcademy  3 года назад +1

      Hi all! The course is here: www.udacity.com/course/deep-learning-pytorch--ud188

  • @shashankkaryakarte8463
    @shashankkaryakarte8463 3 года назад

    Amazing explanation....
    Love from India.....

  • @G4x8I3GpN7
    @G4x8I3GpN7 3 года назад

    Wow, I never understood the error functions until now! Thank you Luis!

  • @oumarbamba9739
    @oumarbamba9739 3 года назад

    Your explanations are so simple that anyone can understand !!!
    Thank so much

  • @FezanRafique
    @FezanRafique Год назад

    This is one of the best explanation i ever read/watched

  • @joseluisbeltramone599
    @joseluisbeltramone599 3 года назад +1

    Muchas gracias, Luis. Primer video que veo sobre las GAN y ya entendí el concepto. ¡Impecable!

  • @roshanid6523
    @roshanid6523 4 года назад

    Thanks for sharing,Crystal clear explanation.
    I remember ,Every one requested u for this and never imagined that request will be granted soon.
    If u are reading this, kindly give us an opportunity to talk with you on RUclips live session.

    • @SerranoAcademy
      @SerranoAcademy  4 года назад

      Thank you! Hoping to have another live session soon, will post an announcement when I know when!

  • @amsaprabhaa8879
    @amsaprabhaa8879 3 года назад

    This video is really helpful to understand about GAN. The way of teaching is really awesome.I liked it a lot.

  • @klammer75
    @klammer75 4 года назад +4

    Love your explanations and visuals! Thanks again for all you do here Luis, you sir are a gentleman and a scholar🎓🍻

  • @kishor0907054
    @kishor0907054 3 года назад +1

    This is a wonderful video, very easy to understand. You have presented such a complex part of deep learning in such a way that it looks so easy! Thank you so much.

  • @Oluwasedago
    @Oluwasedago 3 года назад +1

    Excellent video. Teaches the basics in a very clear manner. Thank you very much!

  • @arsh4387
    @arsh4387 2 года назад +1

    best video for GANs thanks

  • @BigAsciiHappyStar
    @BigAsciiHappyStar 5 месяцев назад

    This is a wonderful introduction to GANs. Many thanks for this - TRIPLE BAM!!!!!!!!!
    No wait, this is not a StatQuest video, my bad 😁😁😁😁

    • @SerranoAcademy
      @SerranoAcademy  5 месяцев назад

      LOL! :D I showed this to Josh, he found it hilarious too. BAM!

  • @stevenwang4747
    @stevenwang4747 2 года назад

    I didn't expect this video until the end of the video. This is really helpful! Thank you

  • @AnthonyKrieger
    @AnthonyKrieger 4 года назад +1

    Thank you so much for this video! I haven't found any good video explaining GANs as you did!

  • @Pavel.Fomitchov
    @Pavel.Fomitchov 11 месяцев назад

    Excellent video - great way to explain a quite complex concept! I learned about your video and github from MIT class "Designing and Building AI Products and Services." Hope that you are getting proper credits from MIT;-)

  • @mojtabaaajami1112
    @mojtabaaajami1112 11 месяцев назад

    What an amazing video. I really impressed by the example you provide to explain such a complex concept.

  • @pad8941
    @pad8941 3 года назад +1

    Interesting example of GAN. Really enjoy your video. Keep a good works

  • @wm7531
    @wm7531 2 года назад

    Best explanation of GAN in YTB

  • @revathivijay304
    @revathivijay304 3 года назад

    Really helpful! Explains GANs very simply for beginners!

  • @neelakantaachari8592
    @neelakantaachari8592 Год назад

    Simple and easy narration. Thank you sir

  • @tompoek
    @tompoek 4 года назад

    Luis truly "KISS" (keep it sweetie simple) machine learning and re-ignites my love of scratching math!!! Whenever i find anything hard to crack i just search it in your channel...... Minor typos at Generator's Derivatives 00:19:00 where D weights are missing and the notations of G weights and D weights get mixed up, though everything is correct in your codes. Kind of cool to work on the simple math and detect those typos... Thanks again Luis for democratizing complex knowledge!! =)

  • @blytheho9010
    @blytheho9010 9 месяцев назад

    OMG this is sooooooo friendly and easy to understand!!!!!! Thank you so much!!!!

  • @AdithyaBijoy
    @AdithyaBijoy 11 месяцев назад

    You are such a good teacher

  • @thabim7
    @thabim7 3 года назад

    Great Job Man. I understood the basics of GANs and now i can work with my StackGan project

  • @ananthakrishnans4951
    @ananthakrishnans4951 4 года назад +3

    the best in GAN tutorials

  • @ercanatam6344
    @ercanatam6344 3 года назад

    Amazing presentation with high quality slides!

  • @YoDempsey
    @YoDempsey 3 года назад +2

    Thank you very much for this awesome explanation, Luis. Very, very well done!

  • @haidara77
    @haidara77 3 года назад

    TO BE BE HONEST I DIDN'T UNDERSTAND BUT I'M GONNA WATCH THIS VIDEO AGAIN AND AGAIN TILL I UNDERSTAND EVEN IF IT'S 100 TIMES. BECAUSE I WANNA BE THE BEST PROGRAMMER

  • @AllanMedeiros
    @AllanMedeiros 4 года назад

    Very informative for learning GAN's! Congratulations!

  • @linus3662
    @linus3662 2 года назад

    Wow, good job! You gave me a very good sense of how it works and explained the loss function really well. I finally understand. Thank you!

  • @OhHappyDayz0011
    @OhHappyDayz0011 11 месяцев назад

    So good & Easy to understand. Ty ! So generous w your knowledge

  • @seminkwak
    @seminkwak 4 года назад +2

    Absolutely stunning explanation!

  • @avirajbevli7268
    @avirajbevli7268 3 года назад

    This is the best explanation on the internet. Thanks a lot!

  • @francescserratosa3284
    @francescserratosa3284 2 года назад +3

    Dear Serrano. Thank you for your very interesting video. In the generator equation (image generator_math.png), I think there is a missing W_i. Note in your code in function "def derivatives(self, z, discriminator)", you have the line: "factor = -(1-y) * discriminator_weights * x *(1-x)". Parameter "discriminator_weights" represents W_i in the equation, although I believe it is missing in the generator equation. Please, let me know if I'm wrong. Thanks.

  • @claumynbega1670
    @claumynbega1670 2 года назад

    Thank you very much for this nice and very helpful explanation of GANs.

  • @piyalikarmakar5979
    @piyalikarmakar5979 2 года назад

    Thanks a lot sir for such an easy explanation...

  • @ianstats97
    @ianstats97 4 года назад

    Best ML videos in the Net for beginners

  • @YixiaoKang
    @YixiaoKang Год назад

    really nice illustrations!! Understand the gan now

  • @masatoyonaga8099
    @masatoyonaga8099 4 года назад

    I finally understand the lost key of GAN! Thank you a lot!

  • @hyosangkang
    @hyosangkang 4 года назад

    Hi Luis! Great Videos! I'm very impressed and happy to see my old friend on RUclips!

    • @SerranoAcademy
      @SerranoAcademy  4 года назад

      Thanks Hyosang!! I also checked out your videos, they’re great! Happy to see you over here after so long, hope all is going well in your side, my friend!

  • @suvidhibanthia212
    @suvidhibanthia212 Год назад

    Such a simple and great explanation. Thank you!

  • @yacinerouizi844
    @yacinerouizi844 3 года назад

    WOW! best tutorial on machine learning ever! Thank you

  • @saidielhoussaine8007
    @saidielhoussaine8007 2 года назад

    All support for your channel

  • @larrybird3729
    @larrybird3729 3 года назад

    Great vid also for your generate_random_image() function in your code, all you have to do is this --> np.random.random(4)

  • @Induraj11
    @Induraj11 3 года назад

    The best tutor! Excellent tutorial sir.

  • @Powerdevpodcast
    @Powerdevpodcast 4 года назад

    You're the best man. u deserve a million subscribers

  • @abmonsur148
    @abmonsur148 Год назад

    Outstanding explanation!!!!

  • @kiranrm1935
    @kiranrm1935 Год назад

    simply amazing. Thank you so much for your efforts🙏

  • @charanialampalle7542
    @charanialampalle7542 4 года назад +1

    Its really wonderful explanation, amazing video for beginners, thank you:)

  • @breakdown9526
    @breakdown9526 4 года назад +1

    Love your video. I have a question about what you say at 16:32: Shouldn't the discriminator network only be updated with weights from the real images? In other word: why do we use back propagation to update the weights after feeding it an image from the generator? isn't the generator making a fake image, and therefore, if you update the weights on a discriminator network, shouldn't the discriminator network then be learning how to detect a fake image?

  • @acidtears
    @acidtears 4 года назад +10

    You provide by far some of the most descriptive explanations of Neural Network architecture, Machine Learning & statistics out there! Thank you!
    By the way, I think you forgot to subtract the bias from the result of the second, noisy image at 6:32. It should be -1.5 instead of -0.5 :)

  • @millenasantos1208
    @millenasantos1208 10 месяцев назад

    Melhor explicação que encontrei!

  • @dragolov
    @dragolov 4 года назад

    Bravo, Luis Serrano!

  • @yipengguo3100
    @yipengguo3100 4 года назад

    After watch this, it saved hours from book torture...

  • @avineshakumar5881
    @avineshakumar5881 2 года назад

    Simply amazing!

  • @daniamartinez4817
    @daniamartinez4817 2 года назад

    such a good explanation

  • @sckang999
    @sckang999 10 месяцев назад

    this is a great intro. Just $0.02. there is a formulatic error in the explanation of generator error at 19:00.. dD/dG = G(1-G)w, so w, the weights from the Discriminator is missing.

  • @petercourt
    @petercourt 4 года назад

    Wonderfully explained, thank you for making this video!

  • @Rodrigo870
    @Rodrigo870 Год назад

    Excelente explicación !

  • @imenbenamor1367
    @imenbenamor1367 4 года назад

    Thank you a lot. I am always impressed by your videos.

  • @mramzanshahidkhan3917
    @mramzanshahidkhan3917 3 года назад

    Very good explained video. thanks

  • @Dr.HarshTruth
    @Dr.HarshTruth 2 года назад

    Great video, very clear!