Padding in Convolutional Neural Network
Vložit
- čas přidán 9. 07. 2024
- In this video, we will understand what is Padding in Convolutional Neural Network and why do we need padding in Convolutional Neural Network
Convolution Operation faces two problems:
1.) The size of the image gets reduced after performing Convolution operation
2.) Corner pixels of the input image doesn't get enough attention as the pixels around the center
Thus, to overcome these issues, we use padding in convolutional neural network
In the video, we will understand what is "VALID" Convolution and what is "SAME" Convolution. And we will also discuss the dimensions of the image after applying padding.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Timestamp:
0:00 Intro
0:11 The Problem with convolution operation
1:15 Padding in Convolutional Neural Network
2:05 Types of Padding
3:42 End
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Follow my entire playlist on Convolutional Neural Network (CNN), because I provide a very detailed mathematical explanation about every model, along with practical implementation.
📕 CNN Playlist: • What is CNN in deep le...
At the end of some videos, you will also find quizzes that can help you to understand the concept and retain your learning.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
✔ Complete Neural Network Playlist: • How Neural Networks wo...
✔ Complete Logistic Regression Playlist: • Logistic Regression Ma...
✔ Complete Linear Regression Playlist: • What is Linear Regress...
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
If you want to ride on the Lane of Machine Learning, then Subscribe ▶ to my channel here: czcams.com/channels/JFA.html
Hi!, I just wanted to tell you that your channel saved my academic life
I don't have enough words to express how thankful I am. Thank you very much for this great, clear, and straightforward explanation!
Hey, I am elated. Glad I could help. All the best for future!
thanks for the video champ
Really nice explanation ❤
Thanks!
genius genius broooooooooo
wow this is a great video
You are doing a great job. Keep uploading new videos.
Thank you
Can you provide any notes about all this convultion neural networks
That might help for my project
Any ways nice explanation & content bro
Helpful! Thank you.
Welcome!
Maaaaaaaaaan, you make this stuff really simple... sigh. Its a relief.
Edit: please use a white marker next time on your black background.
Thanks g
Plz upload more frequently,t's really easy for us to understand from your teaching
Thank you so much! I will do my best to upload more frequently. I have already increased my uploading frequency from 1 video/week to 2 videos/week. 🙂
Amazing videos
Thanks for your continuous support
Great content
just one suggestion, red pen over black background isnt a good choice
good
Thanx
😇
Bubber Shair veer.....Shahzada
Thank you 😁😇
👍
you should have added, If kernel size is non-symetric matrix then how to do padding
Okay thanks for the suggestion 😇… will try to add it in the future video
I have a question,,yes padding is important in giving corner pixels much attention as the middle pixels in filter wimdow,,,but then doesnt make the process of convolution invalid because the output image is same as input image??? And the whole purpose of convolution is to reduce the size of input image
I'm guessing that's the point of maxpooling, since pooling is always applied after convolution. The thing is that idk when people would use paddling and when they wouldn't, since it makes sense to always use it at least for the first layer.
let 4*4 pixel and we add 1 padding then it become 6*6 and filter of 2*2 then output dimension will be 5*5 but we want 4*4 output.....this is my doubt
if you want same image dim with filter having even dim (i.e 2*2), need to apply uneven padding (i.e 0 on left and 1 on right, same with top and bottom => now image will be 5*5)
Apply 3*3 filter to get 4*4 pixel image
I think what you're asking is how can we know what filter size to apply to input image to get output image of same dimension as input image????