Max Pooling in Convolutional Neural Networks explained

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • Let's start by explaining what max pooling is, and we show how it's calculated by looking at some examples. We then discuss the motivation for why max pooling is used, and we see how we can add max pooling to a convolutional neural network in code using Keras.
    We're going to be building on some of the ideas that we discussed in our video on Convolutional Neural Networks, so if you haven't seen that yet, go ahead and check it out, and then come back to watch this video once you've finished up there.
    • Convolutional Neural N...
    🕒🦎 VIDEO SECTIONS 🦎🕒
    00:00 Welcome to DEEPLIZARD - Go to deeplizard.com for learning resources
    00:19 Agenda
    00:47 What is max pooling?
    01:14 Max pooling examples
    05:42 Why use max pooling
    06:52 Other pooling algorithms
    07:27 Max pooling code demo
    10:20 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 • 201

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

    Check out the corresponding blog and other resources for this video at: deeplizard.com/learn/video/ZjM_XQa5s6s

    • @deeplizard
      @deeplizard  Před 4 lety

      Thanks, Daniel! We did go to university in the US, but we've graduated already :)

  • @joppe191
    @joppe191 Před 3 lety +85

    These videos are more useful than half a year of a university course on neural networks. Thanks for making them!

  • @saidul14319
    @saidul14319 Před 6 lety +66

    The Way you explain and then end up with an example of code it's really nice way to grasp!!!

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

    I beg you! Keep making these videos. Your videos just light up my inner neural network.

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

    I love the "Hey, what's going on, everyone?" at the beginning. :)
    Great explanations, very clear and concise.

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

    I've always struggled to understand pooling and this to-the-point explanation was the missing piece in the puzzle. I cannot thank you guys enough for the great work and taking the time to explain everything in so much detail. I owe so much of my knowledge of Deep learning to this channel

  • @1sankey2
    @1sankey2 Před 4 lety +5

    Hey first of all I thank you for uploading this series, secondly "Deeplizard sounds cool and unorthodox" and lastly I liked the way you structured this entire series, short and crisp at the same time easy to understand and lot to learn for a newbie like me. Keep up the good work.

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

    I'm blown away how good these explanation are!

  • @NumentaTheory
    @NumentaTheory Před 5 lety +6

    This is a great series! You do a wonderful job explaining and teaching. Thanks!

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

    extremely simple and easy to understand. Love it. Thank you.

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

    Thank you so much for putting together this series, it has really helped me with understanding concepts behind deep learning:)

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

    That's just the best explanation out there. Keep up the great work!

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

    u are such an awesome teacher! i am medical doctor with zero background to ML and your playlists are my go to place to grasp concepts before i dive in deep. Im grateful
    luv from ZIMBABWE

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

    this is the best explanation video i have ever heard in my life.

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

    Now this is as simple as it can be explained. Great work.

  • @abdullahketeldijk8936
    @abdullahketeldijk8936 Před 5 lety +5

    This is the best channel for machine learning on youtube! Thank you so much you really helped me out when I was studying for my exams. Keep up the good work!

    • @deeplizard
      @deeplizard  Před 5 lety

      Glad to hear that Abdullah! Thank you!

  • @n-vanb8908
    @n-vanb8908 Před rokem +1

    My new favorite channel. It has saved me at times in my undergrad

  • @JoseSanchez-vv1zd
    @JoseSanchez-vv1zd Před 11 měsíci +1

    Thank you for making this excellent video!

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

    Having watched your great explanatory videos on CNN and Zero padding, I am actually going to give a thumbs up on every video of yours I see before I even start watching! :)

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

    thank you very much for this clear and helpful explanation.
    Words fail to express my gratitude.

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

    Probably the most intuitive explanation I have ever seen =)

  • @janeh9962
    @janeh9962 Před 4 měsíci +1

    thanks for this video, it was super helpful !

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

    Super clear and helpful video. Many thanks!

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

    Ms Lizard... I love ure videos. Explanations are very clear with neat illustrations/animations! :)

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

    Really Nice Explanation. TNX

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

    thanks for explaining. really helpful and easy to understand!

  • @Manu-gl6pd
    @Manu-gl6pd Před 2 lety +1

    Thank you for these wonderful videos

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

    0:19 What is Maxpooling?
    5:42 Why do we use Maxpooling?
    7:06 Example for other types of pooling
    7:28 How is it done on code?
    Awesome explanation!

    • @deeplizard
      @deeplizard  Před 2 lety

      Added to the description. Thanks so much!

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

    Great explaining.Thank u very much.

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

    perfectly explained... thanks much

  • @user-xm1ts5dt9v
    @user-xm1ts5dt9v Před 5 lety +2

    Thank you so much! Nice understanding :)

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

    I've just discovered your channel, really the video is clear and your way of presenting things made it easy to understand.
    Big thumbs up !

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

      Thanks, Wael! Glad to have you here!

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

    i am currently bing watching all your cnn videos, great work with top quality content.

  • @arturocabre6189
    @arturocabre6189 Před 4 lety

    So clearly explained, awesome job!

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

    Thanks for these great explanations

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

    Thanks the visualizations are excellent

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

    Thank you for this great explanation!

  • @theepoch1354
    @theepoch1354 Před 4 lety

    Just what i was looking for. Thanks!

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

    Thank you for continuing the series!

  • @sameeraappana7378
    @sameeraappana7378 Před 4 lety

    Awesome videos! thank you very much.

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

    thank you soooo much!!!! this was very hard for me to understand

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

    thank you, really nice explaination

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

    Have I found the best Deep learning channel on youtube? Um, I guess so!

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

    Excellent Tutorial. I love you Ma'am!

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

    Another great video. Thank you.

  • @Ali-ne4el
    @Ali-ne4el Před 5 lety +1

    Great Explanation... thank you

  • @user-bw7gj7um3w
    @user-bw7gj7um3w Před 4 lety +1

    I'd really appreciate this awesome video. It's very helpful for my study.

  • @user-qp6fw3br1u
    @user-qp6fw3br1u Před rokem +1

    Such a great video !!!

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

    Love you tutorials keep it going. Hands down

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

    You’re marvellous, thanks very much!!!

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

    Your videos are amazing!! Keep it up :)

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

    Awesome again.. Deep learning is "Simple learning" now with the way explain 😊👍

  • @jeffeDavid1
    @jeffeDavid1 Před 6 lety +4

    Really good video, congrats!! Better than tensorflow guides.

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

    Amazing tutorial...you simplify concepts so well and think very clearly. I am an admirer and I just subscribed :)

  • @owaguugochukwufranklin3294

    God bless you, dear. more knowledge to you

  • @sumant9189
    @sumant9189 Před 2 lety

    Thanks....it really helped

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

    Excellent and Detailed explanation. Thanks !!

    • @deeplizard
      @deeplizard  Před 6 lety

      Thanks, chetan! Glad you liked it!

  • @kevinli6391
    @kevinli6391 Před 4 lety

    you are a legend, thank you.

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

    Thanks!!!! amazing video

  • @GM-qv1ql
    @GM-qv1ql Před 4 lety

    great articulation! thank you..

  • @JD-po3uk
    @JD-po3uk Před 5 lety +2

    Hey this is great thank you!

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

    nicely done. thanks

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

    Great work!

  • @AjayKumar-zz2yq
    @AjayKumar-zz2yq Před 4 lety +1

    Amazing series of videos 🙌

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

    thank for the great tutorial

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

    Nice video, u nailed it

  • @kumudayanayanajith6427

    Love it!

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

    This is very informative!

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

    best cnn tutorial ever...that girl rocks

  • @hussamsoufi1825
    @hussamsoufi1825 Před 4 lety

    This video is a major reason why I got a job as a computer vision ML eng. Thank you a lot!

    • @deeplizard
      @deeplizard  Před 4 lety

      Woah, awesome! Thanks for sharing, Sam! Were you asked about how max pooling is implemented in your interview?

  • @deeplizard
    @deeplizard  Před 6 lety

    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

  • @althobhanialaa8268
    @althobhanialaa8268 Před 4 lety

    Really thank you

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

    You are a life saver !!

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

      Not all heroes wear capes 😜
      Lol glad you enjoyed the video, Mostafa!

  • @abhaydixit7203
    @abhaydixit7203 Před 4 lety

    Well explained

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

    Excelent video!

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

    great video

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

    Great explanation

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

    the visual is amzing

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

    THANK YOU!

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

    Thanks for more videos. Great

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

      No problem, Raju! Thanks for keeping up with the new releases!

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

    You made something that is supposed to be complicated and difficult... easy.
    Mind making a guide on quantum computing next? xD
    Fantastic work!
    Thank you

  • @bruhm0ment767
    @bruhm0ment767 Před 2 lety

    wow this was such a good explanation, including the previous one on cnn's

    • @deeplizard
      @deeplizard  Před 2 lety

      Thank you! Have a look at this one as well: czcams.com/video/kt6iUG0Gfm0/video.html

  • @VivekSingh-rl1rv
    @VivekSingh-rl1rv Před 3 lety

    great job

  • @prashant-ul2sn
    @prashant-ul2sn Před 5 lety +2

    You are the best

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

    Well explained!

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

    🍻 thanks

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

    good explanation..

  • @kaffafel2770
    @kaffafel2770 Před 3 lety

    I don't think I've ever seen a youtube channel that beautifully sums up DL/ML concepts in a way that idiots and master coders can understand. I am genuinely disappointed that I didn't find your channel before I spent ages on reddit/stackoverflow! Hahah +1 Sub, Keep up the good work from all of us here in the comments!

  • @miketurner3461
    @miketurner3461 Před 4 lety

    You rock!

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

    you are the best ! you are the best ! you are the best !you are the best ! you are the best !

  • @lingjiefeng3196
    @lingjiefeng3196 Před 5 lety

    Thank you for the video! I understand what max pulling does now, but I have a question. If the original size is odd * odd, and the stride is 2, what will be the output size?

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

    thanks

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

    Hey Lizzy! Thanks for the informative video!
    Question - What is "None" in the output shape column as in (None, 20, 20, 16)?
    Thanks!

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

      None in the first dimension here means that the first dimension is variable, i.e. no fixed size. The first dimension is for batch size.

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

    Great video, on the deeplizard site MaxPooling2D() is missing a comma at the end FYI

    • @deeplizard
      @deeplizard  Před 4 lety

      Good eye, thanks! Just corrected it on the site.

  • @MayankSharma-cp6yu
    @MayankSharma-cp6yu Před 5 lety

    can you please explain me kernelInitializer of type Variance scaling? and also the activation of 'softmax'?
    Thank you

  • @CosmiaNebula
    @CosmiaNebula Před 3 lety

    0:48 intro
    1:40 example
    4:25 toy example
    5:40 why max pooling
    7:27 Keras code

  • @danielcarregal9559
    @danielcarregal9559 Před rokem

    thank you very much for this video. I have a question, why does the Dense layer have 16 units? Greetings from Spain :) keep on doing such a good work!

  • @Alchimystic
    @Alchimystic Před 3 lety

    Some questions:
    -does it make sense to have a grid of Y x Z, where Y Z, or/and the stride be different of any of those 2?
    -what happens if in the edges of the image we don't have a full block (remainders)? Do we still max it?

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

    Great videos! easy to understand .It would be more understandable if the operations and coding part are zoomed .

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

      Thanks for the feedback, Akanksha. In later videos, the font size is increased, and I zoom in on the code :)

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

    What software do you use to make the animations, such that in the minute 3:09 moving the filter? Thanks.
    and thank you for the clear explanation!

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

      You're welcome, Abimael! The software is called Camtasia (link below).
      www.techsmith.com/video-editor.html