Batch Normalization (“batch norm”) explained

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • Let's discuss batch normalization, otherwise known as batch norm, and show how it applies to training artificial neural networks. We also briefly review general normalization and standardization techniques, and we then see how to implement batch norm in code with Keras.
    🕒🦎 VIDEO SECTIONS 🦎🕒
    00:00 Welcome to DEEPLIZARD - Go to deeplizard.com for learning resources
    00:30 Help deeplizard add video timestamps - See example in the description
    07:02 Collective Intelligence and the DEEPLIZARD HIVEMIND
    💥🦎 DEEPLIZARD COMMUNITY RESOURCES 🦎💥
    👋 Hey, we're Chris and Mandy, the creators of deeplizard!
    👉 Check out the website for more learning material:
    🔗 deeplizard.com
    💻 ENROLL TO GET DOWNLOAD ACCESS TO CODE FILES
    🔗 deeplizard.com/resources
    🧠 Support collective intelligence, join the deeplizard hivemind:
    🔗 deeplizard.com/hivemind
    🧠 Use code DEEPLIZARD at checkout to receive 15% off your first Neurohacker order
    👉 Use your receipt from Neurohacker to get a discount on deeplizard courses
    🔗 neurohacker.com/shop?rfsn=648...
    👀 CHECK OUT OUR VLOG:
    🔗 / deeplizardvlog
    ❤️🦎 Special thanks to the following polymaths of the deeplizard hivemind:
    Tammy
    Mano Prime
    Ling Li
    🚀 Boost collective intelligence by sharing this video on social media!
    👀 Follow deeplizard:
    Our vlog: / deeplizardvlog
    Facebook: / deeplizard
    Instagram: / deeplizard
    Twitter: / deeplizard
    Patreon: / deeplizard
    CZcams: / deeplizard
    🎓 Deep Learning with deeplizard:
    Deep Learning Dictionary - deeplizard.com/course/ddcpailzrd
    Deep Learning Fundamentals - deeplizard.com/course/dlcpailzrd
    Learn TensorFlow - deeplizard.com/course/tfcpailzrd
    Learn PyTorch - deeplizard.com/course/ptcpailzrd
    Natural Language Processing - deeplizard.com/course/txtcpai...
    Reinforcement Learning - deeplizard.com/course/rlcpailzrd
    Generative Adversarial Networks - deeplizard.com/course/gacpailzrd
    🎓 Other Courses:
    DL Fundamentals Classic - deeplizard.com/learn/video/gZ...
    Deep Learning Deployment - deeplizard.com/learn/video/SI...
    Data Science - deeplizard.com/learn/video/d1...
    Trading - deeplizard.com/learn/video/Zp...
    🛒 Check out products deeplizard recommends on Amazon:
    🔗 amazon.com/shop/deeplizard
    🎵 deeplizard uses music by Kevin MacLeod
    🔗 / @incompetech_kmac
    ❤️ Please use the knowledge gained from deeplizard content for good, not evil.

Komentáře • 261

  • @deeplizard
    @deeplizard  Před 6 lety +18

    Machine Learning / Deep Learning Tutorials for Programmers playlist: czcams.com/play/PLZbbT5o_s2xq7LwI2y8_QtvuXZedL6tQU.html
    Keras Machine Learning / Deep Learning Tutorial playlist: czcams.com/play/PLZbbT5o_s2xrwRnXk_yCPtnqqo4_u2YGL.html

    • @rey1242
      @rey1242 Před 5 lety

      I already asked it on another video, but just to cover the most area as possible
      Could I possibly normalize the weights to have mean 0 and variance 1 on weights initialization?

    • @coolbits2235
      @coolbits2235 Před 5 lety +4

      I am in debt to you for teaching me so much in one day. I would have kissed your hand in gratitude if you were in front of me. NN are such a convoluted mess but you have made things easier.

    • @Itsme-wt2gu
      @Itsme-wt2gu Před rokem

      Can we make a game where ai have their own life and we live as their family and social system with our friends

  • @kareemjeiroudi1964
    @kareemjeiroudi1964 Před 5 lety +96

    I'm deeply impressed by the quality of your videos. Allow me to say that these, by far, are the most helpful video tutorials on Neural Networks. I seriously appreciate the time you spend researching such information and then putting it in such a concise pleasant way, that's also easy to comprehend. Trust me without you, I wouldn't have been able to understand what changes these parameters make in the network. That's why, thank you very very much for both the time and the effort you put into this! And please, please, keep making more tutorials.
    Also, I'd like to remark that the topics of these videos are so sequential, so if you're following the playlist from the very beginning you'd absolutely be able to make sense of everything noted in the videos, regardless what your prior knowledge of Neural Networks is. Besides, the Keras playlist is also complementary and adds up a lot to the learning experience.
    All in all, this is - in one word - "professional work".

    • @deeplizard
      @deeplizard  Před 5 lety +16

      Wow kareem, thank you so much for leaving such a thoughtful comment! I'm very happy to hear the value you're getting from this series, and we're really glad to have you here!

    • @vdev6797
      @vdev6797 Před 3 lety

      i don't allow you to say..!!

    • @WahranRai
      @WahranRai Před 2 lety +1

      It was the purpose of this *deep learning* videos : to be *deeply* impressed by the *learning* you get

  • @tamoorkhan3262
    @tamoorkhan3262 Před 3 lety +6

    One of the few youtube series I have completed in my life. Instead of beating around the bushes, you kept it to the point with the tons of info just in few minutes. Hope to see more such series.

  • @PatriceFERLET
    @PatriceFERLET Před 4 lety +25

    Several days that I read several articles to understand what really does Batch Norm, and I found your video. Perferctly explained, thanks a lot !

  • @nasiksami2351
    @nasiksami2351 Před 3 lety +4

    THANK YOU SO MUCH FOR THIS AMAZING PLAYLIST! One of the best channels for learning deep learning. Absolutely loved your content. It was explained in the easiest possible way and awesome graphical illustrations. You really worked hard on the editing! Thanks again!

  • @smartguy3043
    @smartguy3043 Před 4 lety +2

    This is the best intro to deep learning i have seen anywhere be it a textbook or video lecture series. You have definitely put in serious efforts and thought to break down this dense topic into bite-size tutorials packed with logical chain of thought which is easy to follow through. Thanks a lot :)

  • @dr.hafizurrahman9374
    @dr.hafizurrahman9374 Před 5 lety +24

    God Bless you, my dear Teacher. I saw in every lesson that you put the whole ocean in a small jar. This is the unique qualities and very few teachers have such good quality.

  • @woudjee2
    @woudjee2 Před rokem +1

    Literally watched all 38 videos in one go. Thank you so much!

  • @lingjiefeng3196
    @lingjiefeng3196 Před 5 lety +2

    I love your tutorial. The illustration is just so concise and easy to understand. Thank you for all your effort in making these videos!

  • @deepcodes
    @deepcodes Před 4 lety +3

    Finally completed the series of deep learning, Thank You for such amazing videos and blogs for giving free on CZcams. It's great quality!!!

  • @aniketbhatia1163
    @aniketbhatia1163 Před 5 lety +4

    These tutorial videos are one of the best ones I could find. The explanations are extremely lucid and so easy to understand. I really hope you expand your pool of videos to include other topics such as RNNs. You could also dedicate some videos to hyper-plane classifiers, SVMs, RL, even some optimization methods. All in all the set of videos is just amazing!

  • @vikasshetty6725
    @vikasshetty6725 Před 4 lety +1

    worth watching all the videos because of the content delivery and quality. big thumbs up for the entire team

  • @rob21dog
    @rob21dog Před 4 lety +1

    Thanks for all of your hard work in putting this series together. I just finished this last video & I can say that with your help I am much further ahead in understanding deep learning. God bless!

  • @aashwinsharma1859
    @aashwinsharma1859 Před 3 lety +1

    Completed the whole playlist. Now I am confident about the basics of neural networks. Thanks a lot for the great series!!

  • @parthbhardwaj2262
    @parthbhardwaj2262 Před 4 lety +2

    I am really fascinated by your hard work that bring such quality to your videos ! I would be really happy if you could make as much more stuff as possible. Channels like yours only keep up the spirits of students like us really high! Just one word to sum it up....... OUTSTANDING !!

  • @JoeSmith-kn5wo
    @JoeSmith-kn5wo Před rokem +1

    Great playlist!! I went through the entire Deep Learning playlist, and have to say it's probably one of the best at explaining deep learning in a simplistic way. Thanks for sharing your knowledge!! 👍

  • @linknero1
    @linknero1 Před 4 lety +9

    Thanks, I'm writing my thesis thanks to your explanations!

  • @jerseymec
    @jerseymec Před 4 lety +1

    Thanks for the amazing series! I really enjoyed your videos! Keep up the good work! Hope to see more complex networks made simple by you!

  • @stwk8
    @stwk8 Před 2 lety +1

    Thank you Deeplizard!.
    The playlist of Machine Learning & Deep Learning Fundamentals made me understanding the concepts of ML super easily.
    Thank you so much :D

  • @abdelrahmansalem6233
    @abdelrahmansalem6233 Před 2 lety +1

    This one of the most comprehensive videos I ever watch.....
    really thank you and I am looking forward for advanced concepts

  • @pallavbakshi612
    @pallavbakshi612 Před 6 lety +3

    Wow, thanks for putting this up. You deserve every like and every subscribe. Great job.

  • @PritishMishra
    @PritishMishra Před 3 lety

    Hurray, Completed the series (The only series on CZcams which I have seen from the first video to last without skipping a second). Amazing job Deep Lizard Team. Highly Appreciated!
    Now I am going to see the Keras Playlist and den I will see the Pytorch series and den Reinforcement learning

    • @deeplizard
      @deeplizard  Před 3 lety +1

      Congratulations! 🎉 Keep up the great work as you progress to the next courses!

  • @tymothylim6550
    @tymothylim6550 Před 3 lety +1

    Thank you very much for this whole series! It was really enjoyable to watch and I learnt a lot!

  • @silentai3826
    @silentai3826 Před 3 lety +1

    Wow, this is awesome. Kudos to you! Perfect explanation. Was trying to understand batchnorm from some websites and articles, this was much better than any of them. Thanks!

  • @aravindvenkateswaran5294

    I have successfully binged (across 2 weeks) this playlist and found them really helpful! Thank you for all you do and keep up the good work. Hope to watch more vids getting added here or elsewhere on the channel. Lots of love:)

    • @deeplizard
      @deeplizard  Před 3 lety +1

      Thank you, and great work! Check out the homepage of deeplizard.com to see all other DL courses and the order in which to take them after this one!

  • @karelhof319
    @karelhof319 Před 5 lety +3

    finding this channel has been a great help for my studies!

  • @simonbernard4216
    @simonbernard4216 Před 5 lety +1

    just woaaa ..! Please keep making these videos, it's by far the best explanation I got here

  • @julianarotsen6521
    @julianarotsen6521 Před 4 lety +1

    Thanks for the amazing explanation!! By far the best tutorial video I've seen!

  • @hamzawi2752
    @hamzawi2752 Před 4 lety +1

    Very Excellent, I hope you continue this series. Your explanation is so clear.

  • @pranaysingh3950
    @pranaysingh3950 Před 2 lety +2

    The video I was finding like a beggar over the internet to help me understand the step 2 and 3 of batch norm. Here it was finally! Thank you so much for doing great work. I really really appreciate. So simple calm and informative explanation to very important topic.

    • @shraddhadevi8964
      @shraddhadevi8964 Před 2 lety

      Ohh bhai khajaana 💰💰💰mil gaya💰💰💰💰💰💰💰💰💰

  • @khalilturki8187
    @khalilturki8187 Před 2 lety +1

    nice short video and great way of explaining!
    I will follow this channel and watch more videos!
    Keep up the great work

  • @diogo9610
    @diogo9610 Před 4 lety

    Wonderful work. Thank you for setting up all this content.

  • @smithflores6968
    @smithflores6968 Před 2 lety +1

    I found, pure gold ... ! Great video ! I understood perfectly !

  • @rowidaalharbi6861
    @rowidaalharbi6861 Před 2 lety +1

    Thank you so much for your explanations!. I'm writing my phd thesis and your tutorial helped me a lot :)

  • @gaurav_gandhi
    @gaurav_gandhi Před 5 lety +1

    Clearly explained, good animation, covered most areas. Thanks

  • @tanfortyfive
    @tanfortyfive Před 3 lety +10

    Top-notch, I finished it all, kudos to the Deeplizard team, love you all, love you Mandy, your sweet voice keep up us.

  • @al-farabinagashbayev5403
    @al-farabinagashbayev5403 Před 4 lety +1

    I think every machine learning specialist even specialized one will find in you course something new for himself.:) Great course, Thanks a lot!

  • @tss109
    @tss109 Před 2 lety +1

    Wow. Such a nice explanation. Thank you!

  • @ahmadnurokhim4168
    @ahmadnurokhim4168 Před 2 lety +1

    Great quality content, subscribed ️‍🔥

  • @baqirhusain5652
    @baqirhusain5652 Před 2 lety +1

    Beautiful !! super clear !

  • @jonathanmeyer4842
    @jonathanmeyer4842 Před 6 lety +13

    Nice tutorial, clear, professional voice and animations !
    Looking forward more deep learning videos :)
    (I'm aware of your Keras tutorial series and I'm going to watch it right now !)

    • @deeplizard
      @deeplizard  Před 6 lety +2

      Thank you, Jonathan! I'm glad you're liking the videos so far!

  • @farzadimanpour2751
    @farzadimanpour2751 Před 3 lety +1

    the best tutorial that I've ever seen.thanks

  • @rogeriogouvea7278
    @rogeriogouvea7278 Před rokem

    These videos are SO helpful, thank you

  • @ranitbarman6471
    @ranitbarman6471 Před rokem +1

    Cleared the concept. Thnx

  • @robertc6343
    @robertc6343 Před 2 lety +1

    Ohhh what a wonderful narrative. I really like the way you explained it. Thank you and I’ve just Subscribed to your channel👍🏻

  • @nikhillahoti7628
    @nikhillahoti7628 Před 5 lety +1

    This is a gem! Thank you very much!!!

  • @betterbrained
    @betterbrained Před 2 lety

    As always, very well done and clear, thank you!!

  • @Yadunandankini
    @Yadunandankini Před 6 lety +3

    great video. precise and concise. Thanks!

  • @ejkitchen
    @ejkitchen Před 3 lety +1

    Great content. Like many others have said, one of the best series on ML out there.

  • @yelchinyang148
    @yelchinyang148 Před 5 lety +2

    The online tutorial is very useful and helps me understand in detail batch normalization concept, which has confused me for a long time. Thanks very much for your sharing.

  • @punitdesai4779
    @punitdesai4779 Před 3 lety +1

    Very well explained!

  • @GS-kj5pc
    @GS-kj5pc Před rokem

    Excellent series!

  • @alphadiallo9324
    @alphadiallo9324 Před 3 lety +1

    That was very helpful, thanks

  • @robinkerstens516
    @robinkerstens516 Před 3 lety +2

    just like all other comments: i have just finished your video series and I am impressed by the quality of explanation. Many videos go into tiny details way to fast, before making sure that everyone at least understands the terms. Kudos! I hope you make many more.

    • @deeplizard
      @deeplizard  Před 3 lety +1

      Thank you Robin! Much more content available on deeplizard.com :)

  • @adwaitnaik4003
    @adwaitnaik4003 Před 3 lety +1

    Simple and lucid explanation. loved it. Thanks

  • @gurpriyakaur2109
    @gurpriyakaur2109 Před 3 lety +1

    Amazing explanation!

  • @senduranravikumar3554
    @senduranravikumar3554 Před 3 lety +1

    Thank you so much mandy... i have gone through all the videos... 😍😍😍 .

  • @sciences_rainbow6292
    @sciences_rainbow6292 Před 3 lety +1

    i completed thes series of this videos, can't wait to watch more on your playlist!

    • @deeplizard
      @deeplizard  Před 3 lety

      Awesome job! See all of our deep learning content on deeplizard.com :)

  • @FernandoWittmann
    @FernandoWittmann Před 5 lety +26

    Great video! But from my understanding, only g and b are trainable. In 4:23, it is mentioned that the mean and std are parameters as well ("these four parameters ... are all trainable")

    • @deeplizard
      @deeplizard  Před 5 lety +4

      Thanks Fernando, you’re right! The blog for this video has the correction :)
      deeplizard.com/learn/video/dXB-KQYkzNU

    • @davidireland724
      @davidireland724 Před 4 lety +5

      came looking for this comment! thanks for stopping me losing my mind trying to reconcile this explanation to the paper

  • @fanusgebrehiwet6286
    @fanusgebrehiwet6286 Před 4 lety

    gentle and to the point. Thank you.

  • @pamodadilranga
    @pamodadilranga Před 3 lety

    Thank You Very Very Much. I'm posting this comment in 2020. and under the house quarantine. I needed to know about deep learning to my internship. And thanks to this playlist, now I have good knowledge about fundamental theories of neural networks.

  • @amirraad4437
    @amirraad4437 Před rokem +1

    Thank you so much for your great work ❤

  • @thepresistence5935
    @thepresistence5935 Před 2 lety +1

    Wonderful explanation

  • @yashgupta417
    @yashgupta417 Před 4 lety +1

    Very well explained

  • @ericdu6576
    @ericdu6576 Před rokem +1

    AMAZING SERIES

  • @pranavdhage691
    @pranavdhage691 Před 4 lety

    awesome...I am going to watch the playlist....

  • @rupjitchakraborty8012
    @rupjitchakraborty8012 Před 4 lety +3

    Loved your video. I am going to complete this series. Can you include RNNs, LSTMs and GRUs, and also complete the video series? I am looking forward to this as I start and complete this series.

  • @akhtarzaman7864
    @akhtarzaman7864 Před 5 lety +1

    thankyou for amazing explanation

  • @HasanKarakus
    @HasanKarakus Před 11 měsíci +1

    The best explonation I ever watch

  • @UtaShirokage
    @UtaShirokage Před 4 lety

    Amazing and concise video, thank you!

  • @kavithavinoth4557
    @kavithavinoth4557 Před 4 lety +1

    great series
    amazing teaching skills you have got madam
    thank you

  • @richarda1630
    @richarda1630 Před 3 lety +1

    Just wanted to say kudos and thanks so much for your awesome series :D I have learned so much! Now I'm off to your Keras w/TF series :)

    • @deeplizard
      @deeplizard  Před 3 lety

      Great job getting through this course!

    • @richarda1630
      @richarda1630 Před 3 lety

      @@deeplizard Thanks! moving to your Deep Learning and Keras series next :)

  • @prasaddalvi3017
    @prasaddalvi3017 Před 4 lety

    These are really good set of videos for neural network. I really liked it a lot and enjoyed watching it. Great work. But there is just one thing which I would like to suggest, you guys have explained Back propagation really well, better than most that I have seen, but it would be really helpful in understanding back propagation better if you could add a small numerical problem for back propagation calculation.

  • @FuryOnStage
    @FuryOnStage Před 6 lety +1

    this was an amazing explanation. thank you.

  • @mukulverma8404
    @mukulverma8404 Před 4 lety +1

    Very good Explanation..watched this whole playlist.Thanks for making understanding DL so easy and fun.Moreover your funny stuff made me laugh.

  • @shaelanderchauhan1963
    @shaelanderchauhan1963 Před 2 lety +1

    Just WoW! Amazing content. Please make series on Explainig research papers

  • @roxanamoghbel9147
    @roxanamoghbel9147 Před 3 lety +1

    so helpful!

  • @mkulkhanna
    @mkulkhanna Před 5 lety +1

    Very nice tutorial, thank you

  • @fritz-c
    @fritz-c Před 4 lety +1

    I spotted a slight issue in the article for this video.
    At the end of the article, it says "I’ll see ya in the next one!", with a link to the Zero Padding article, but by that point that article has already been covered.
    I really enjoy your courses so far, by the way. I've stopped and started a few times with studying ML in the past, but this has been a pleasure to go through.

    • @deeplizard
      @deeplizard  Před 4 lety

      Fixed, thanks Chris! :D
      I've rearranged the course order since the initial posting of these videos/blogs, so I removed the hyperlink.

  • @arohawrami8132
    @arohawrami8132 Před 7 měsíci +1

    Thanks a lot.

  • @RandomShowerThoughts
    @RandomShowerThoughts Před 6 lety +1

    This video was amazing

  • @mhdalkadri9228
    @mhdalkadri9228 Před 6 lety +1

    Brilliant !!

  • @qusayhamad7243
    @qusayhamad7243 Před 3 lety +1

    thank you really you are the best teacher in the world. I appreciate your efforts

    • @deeplizard
      @deeplizard  Před 3 lety +1

      Happy to hear the value you're getting from the content, qusay!

    • @qusayhamad7243
      @qusayhamad7243 Před 3 lety

      @@deeplizard I am so happy for your reply to my comment ^_^

  • @user-qt3jo9tw6m
    @user-qt3jo9tw6m Před 5 lety +1

    Good stuff, thank you

  • @mustafacannacak9279
    @mustafacannacak9279 Před 3 lety +1

    Love your channel

  • @g.jignacio
    @g.jignacio Před 4 lety +1

    Once again again you did it! you dit it!

  • @rapunziao2929
    @rapunziao2929 Před 5 lety

    i started to fall in love with the voice

  • @CosmiaNebula
    @CosmiaNebula Před 3 lety +2

    0:10 intro
    0:30 normalize and standardize
    1:25 why normalize
    3:05 problem of large weights, and batch normalization
    5:46 Keras

    • @deeplizard
      @deeplizard  Před 3 lety

      Thank you for your contribution of the timestamps for several videos! Will review soon for publishing :)

  • @abhishekp4818
    @abhishekp4818 Před 4 lety

    @deeplizard could you please explain how does "g" and "b" gets updated during backpropogation in "(z*g)+b". Is the derivative taken or is there any other method.

  • @blackraider777
    @blackraider777 Před 5 lety +1

    beautiful vid

  • @DanielWeikert
    @DanielWeikert Před 4 lety

    Thanks. How exactly is the mean and std for a specific neuron in the dense layer calculated? Is it just like adding up all values in a specific batch and then divide by the batch size. Each time a new batch gets fed in then this repeats? Thanks

  • @rajuthapa9005
    @rajuthapa9005 Před 6 lety +1

    very helpful tut

  • @bl7395
    @bl7395 Před 4 lety

    @deeplizard please do a series on transfer learning, or more in-depth teaching on NLP/CV :)

  • @yuriihalychanskyi8764
    @yuriihalychanskyi8764 Před 4 lety +1

    Thanks for the video. So do we have to normalize data before putting to the model or batch normalization does it itself in the model?

  • @shamikbanerjee4713
    @shamikbanerjee4713 Před 4 lety +1

    Thank you Ma'am. :)

  • @lucaslucassino
    @lucaslucassino Před 3 lety +1

    Hey I have a question! It is sometimes preferred to have a batchnorm layer after a convolutional layer and after the activation layer. Does anyone know why?

  • @srighakollapuajith4015
    @srighakollapuajith4015 Před 3 lety +1

    very nice video

  • @travel_with_rahullanannd
    @travel_with_rahullanannd Před 4 lety +1

    I really enjoyed learning with your videos. Can you please create videos on RNN.!!

  • @heejuneAhn
    @heejuneAhn Před 6 lety

    I have a question on the slide around 4:00. Why do we need multiple and some parameter value after normalizing the value? The step will transform the value range. In term of the original papers, they say identify transform. In fact I wonder why we use 'identiy transform' which essentially makes no chnage to the input.

  • @mdyounusahamed6668
    @mdyounusahamed6668 Před rokem

    Do I need to add the batch normalization after each hidden layers or use it once just before the output layer?