Max Pooling in Convolutional Neural Networks explained
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.
Check out the corresponding blog and other resources for this video at: deeplizard.com/learn/video/ZjM_XQa5s6s
Thanks, Daniel! We did go to university in the US, but we've graduated already :)
These videos are more useful than half a year of a university course on neural networks. Thanks for making them!
The Way you explain and then end up with an example of code it's really nice way to grasp!!!
I beg you! Keep making these videos. Your videos just light up my inner neural network.
I love the "Hey, what's going on, everyone?" at the beginning. :)
Great explanations, very clear and concise.
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
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.
I'm blown away how good these explanation are!
This is a great series! You do a wonderful job explaining and teaching. Thanks!
extremely simple and easy to understand. Love it. Thank you.
Thank you so much for putting together this series, it has really helped me with understanding concepts behind deep learning:)
That's just the best explanation out there. Keep up the great work!
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
this is the best explanation video i have ever heard in my life.
Now this is as simple as it can be explained. Great work.
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!
Glad to hear that Abdullah! Thank you!
My new favorite channel. It has saved me at times in my undergrad
Thank you for making this excellent video!
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! :)
thank you very much for this clear and helpful explanation.
Words fail to express my gratitude.
Probably the most intuitive explanation I have ever seen =)
thanks for this video, it was super helpful !
Super clear and helpful video. Many thanks!
Ms Lizard... I love ure videos. Explanations are very clear with neat illustrations/animations! :)
Really Nice Explanation. TNX
thanks for explaining. really helpful and easy to understand!
Thank you for these wonderful videos
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!
Added to the description. Thanks so much!
Great explaining.Thank u very much.
perfectly explained... thanks much
Thank you so much! Nice understanding :)
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 !
Thanks, Wael! Glad to have you here!
i am currently bing watching all your cnn videos, great work with top quality content.
So clearly explained, awesome job!
Thanks for these great explanations
Thanks the visualizations are excellent
Thank you for this great explanation!
Just what i was looking for. Thanks!
Thank you for continuing the series!
For sure, Kotki!
Awesome videos! thank you very much.
thank you soooo much!!!! this was very hard for me to understand
thank you, really nice explaination
Have I found the best Deep learning channel on youtube? Um, I guess so!
Excellent Tutorial. I love you Ma'am!
Another great video. Thank you.
Great Explanation... thank you
I'd really appreciate this awesome video. It's very helpful for my study.
Such a great video !!!
Love you tutorials keep it going. Hands down
You’re marvellous, thanks very much!!!
Your videos are amazing!! Keep it up :)
Awesome again.. Deep learning is "Simple learning" now with the way explain 😊👍
Haha I like that, thanks!
Really good video, congrats!! Better than tensorflow guides.
Amazing tutorial...you simplify concepts so well and think very clearly. I am an admirer and I just subscribed :)
Thank you, Nikola!
God bless you, dear. more knowledge to you
Thanks....it really helped
Excellent and Detailed explanation. Thanks !!
Thanks, chetan! Glad you liked it!
you are a legend, thank you.
Thanks!!!! amazing video
great articulation! thank you..
Hey this is great thank you!
nicely done. thanks
Great work!
Amazing series of videos 🙌
thank for the great tutorial
Nice video, u nailed it
Love it!
This is very informative!
best cnn tutorial ever...that girl rocks
This video is a major reason why I got a job as a computer vision ML eng. Thank you a lot!
Woah, awesome! Thanks for sharing, Sam! Were you asked about how max pooling is implemented in your interview?
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
Really thank you
You are a life saver !!
Not all heroes wear capes 😜
Lol glad you enjoyed the video, Mostafa!
Well explained
Excelent video!
great video
Great explanation
the visual is amzing
THANK YOU!
You're welcome, Luis!
Thanks for more videos. Great
No problem, Raju! Thanks for keeping up with the new releases!
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
wow this was such a good explanation, including the previous one on cnn's
Thank you! Have a look at this one as well: czcams.com/video/kt6iUG0Gfm0/video.html
great job
You are the best
Well explained!
Thanks, Raghavendra!
🍻 thanks
good explanation..
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!
You rock!
you are the best ! you are the best ! you are the best !you are the best ! you are the best !
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?
thanks
Hey Lizzy! Thanks for the informative video!
Question - What is "None" in the output shape column as in (None, 20, 20, 16)?
Thanks!
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.
Great video, on the deeplizard site MaxPooling2D() is missing a comma at the end FYI
Good eye, thanks! Just corrected it on the site.
can you please explain me kernelInitializer of type Variance scaling? and also the activation of 'softmax'?
Thank you
0:48 intro
1:40 example
4:25 toy example
5:40 why max pooling
7:27 Keras code
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!
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?
Great videos! easy to understand .It would be more understandable if the operations and coding part are zoomed .
Thanks for the feedback, Akanksha. In later videos, the font size is increased, and I zoom in on the code :)
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!
You're welcome, Abimael! The software is called Camtasia (link below).
www.techsmith.com/video-editor.html