Tutorial 24- Max Pooling Layer In CNN

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2019
  • Please join as a member in my channel to get additional benefits like materials in Data Science, live streaming for Members and many more
    / @krishnaik06 In this video we will understand about the max pooling layer in CNN
    Complete Deep Learning playlist:
    • Tutorial 1- Introducti...
    Connect with me here:
    Twitter: / krishnaik06
    Facebook: / krishnaik06
    instagram: / krishnaik06
    Subscribe my unboxing Channel
    / @krishnaikhindi
    🙏🙏🙏🙏🙏🙏🙏🙏
    YOU JUST NEED TO DO
    3 THINGS to support my channel
    LIKE
    SHARE
    &
    SUBSCRIBE
    TO MY RUclips CHANNEL

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

  • @user-gx9hk8gt3k
    @user-gx9hk8gt3k Год назад +7

    I don't know who came up with this Max Pooling but he must be a genius. Thank you for the video!

  • @koushikshomchoudhury9108
    @koushikshomchoudhury9108 4 года назад +12

    Awesome explanation & thank you.Highly inefficient channels like *DONT WANT TO TAKE THE NAME* takes thousands of rupees and teaches with about 10% proficiency as you do. This will take me to a step closer to my paper. :)

  • @mukund198526
    @mukund198526 3 года назад +7

    Really so simply explained and now see the difference how a upgrad professor explained the same concept -
    Max pooling: If any one of the patches says something strongly about the presence of a certain feature, then the pooling layer counts that feature as 'detected'.
    Average pooling: If one patch says something very firmly but the other ones disagree, the pooling layer takes the average to find out.

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

    Superb video.Read a lot and saw videos of maxpooling but this one cleared all my doubts.Thanks Krish. Keep it up.Cheers.

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

    This guy is a legend of the game I was watching 7 hours of deep learning video in which CNN WAS 1 HOUR AND my doubts were still not cleared this guy did it in few minutes I am highly impressed by your skills Sir

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

    Thank you, Krish Sir. Nice tutorial on max pooling.

  • @Tales.of.Irshad
    @Tales.of.Irshad 3 года назад +1

    whenever i have doubts... i visithere...go back with good knowledge

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

    sir we need remaining theory part and coding part of CNN ,please...

  • @harendrakumar7647
    @harendrakumar7647 4 года назад +5

    Hey Krish, Can you please explain about the strides and How to set up the values for strides in tensorflow ? Thanks

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

    Excellent Sir.. thank u so much

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

    Great explanation!

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

    Hi Krish, please continue your deep learning series.

  • @aidataverse
    @aidataverse Год назад +1

    great explanation

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

    Thanks Krish

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

    Awesome explanation

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

    Thank you.

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

    Superb

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

    Thanks

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

    Thanks sir .

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

    Thank you sir

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

    thank you so much for this explanation, can you please provide the formula of the Max-pooling

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

    In no existing framework anyway does max pooling round up the output dimension size. If stride takes you off the edge, you don't include it. The output dimension for a 3x3 image, with a kernel size of 2, and stride of 2, is 1x1

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

    ty

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

    Am confused..... We do padding so that dimension will not reduce then we do max pooling that reduces the dimension....... Though I understood the very purpose of max pooling but this dimension reduction process making me confused

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

      I think, padding helps to detect the all edges of items n prefers in 1st layer and as we go ahead into further convolution layers have to approximate the process of identification where max pooling will helps.

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

      You apply padding in the convolution layers to prevent the loss of valuable information at the edges. As we move deeper into the hidden layers, after the extraction of important featurs, we need to reduce the dimensionality because further propagation of these volumes is not very reasonable. Also, once we have detected some featues already, there comes a time when we need to pick the brightest pixel from all the divided regions to get a clearer view of the entire image, like what has been detected in overall input image. That is why we pick "High pixel intensities" as they represent their neighbourhood.

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

    Sir pls make video about the CNN project...

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

    Hi krish. I am confused about one thing. Once we have applied the filter on the image, does it pass through the activation function and then go to the maxpooling layer or the activation function is applied twice ?

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

      After convolution, activation function is used and after that max pooling is used. Activation function is not used twice.

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

    KRISH>ANDREW NG LOVE FROM PAKISTAN!

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

    sir what if we chose filter size bigger than image size? is that filter size is hyper parameter if not then how to choose filter size?

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

    This is going to sound dumb but in a 2x2 how would a 1d max pooling work with size 1 would that just return the same thing or the highest number I have been searching and have not found a good answer

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

    Sir, Can any one plz clarify my doubt that
    do we apply activation for max pooling ?
    or
    we apply activation fun before pooling method ?

  • @shaz-z506
    @shaz-z506 4 года назад +3

    Hi Krish,
    Please let me know, in what scenario we should use average pooling over Max pooling.

  • @vermaanky11
    @vermaanky11 3 года назад +3

    As per your previous video, you informed that if padding layer is added then the formula is n-2p-f+1. Hence if we apply the same here with P=1, then we should get 1X1 matrix rather than 3X3. Correct me if I am wrong.

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

      it's n - f + 2p + 1...that shd actually give 5

    • @omingole7304
      @omingole7304 Год назад +1

      @@aritraray2501 Ya, it's (n+2p-f)/s+1 , right?

    • @ahlamsaeed498
      @ahlamsaeed498 Год назад +1

      @@aritraray2501 yeah output is 5

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

    What will be the stride if we use 3×3 filter ?

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

    excellent!

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

    Sir, can you make the video on how cnn work with text classification

  • @pankajyadav-en7tb
    @pankajyadav-en7tb 10 месяцев назад

    Hi sir, really awesome explanation, but just one question did someone hit you before creating this video? I can see injury marks on your face.

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

    There are no trainable param in pooling layers. how NN will update pooling filter?

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

    Please provide the research paper link

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

    I think that the filter dimension is a hyperparameter that is fixed and cannot be updated during backpropagation. Still not sure, correct me if I'm wrong.

    • @krishnaik06
      @krishnaik06  3 года назад +3

      Filter dimension will not be changed only the filter inner values will be changed

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

    How to implement this

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

    Hero

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

    What if I take stride=1, what will be the problem?

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

    Please provide the link for the research paper you were talking about

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

      Just do a google search for "yann lecun cnn paper" or go to yann.lecun.com here you will find all his papers and publications

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

    Sir what is Stride here?

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

    How to apply max pooling on any image data set?

  • @AbhaySingh-fp6ew
    @AbhaySingh-fp6ew 3 года назад +1

    At 5:50, are you saying that max pooling layer is also learned during the training process? if so, then that seems wrong

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

      +1, pooling layer has no parameters to learn. There is no update during gradient descent for pooling.

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

    In the video I/L is 4x4 and filter is 2x2 , padding is 1 , stride is 1 and the output is 3x3 but in the previous video the formula told by him is n+2p-f+1 if we get output as 5 how come can anybody explain me this ...

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

    Is it really will jump like that ?

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

    Sir when you uploading the next videos?

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

    sir, I think you forgot to consider padding in determining output

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

      Yes although he mentioned about padding but not considered for this convolution layer

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

    Please provide the research paper

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

    please provide research paper

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

    sir what is STRIDE ??

  • @RanjitSingh-rq1qx
    @RanjitSingh-rq1qx Год назад

    Sir if we apply the padding equal to 1 then we will get 4*4 metric output. Not a 3*3 metric output. I learnt this thing in your previous video. But u r saying now it will return 3*3 metric. how is it possible sir ?

  • @bhanuPrakash-yo5wd
    @bhanuPrakash-yo5wd 4 года назад

    Sir complete the cnn part with one project of open CV image segmentation

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

      Don't worry it will come in the advanced cnn section

    • @bhanuPrakash-yo5wd
      @bhanuPrakash-yo5wd 4 года назад

      @@krishnaik06 Thank you sir,hope you done soon ,I was in final this was the project I am working for my resume

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

    can you please provide a rp of cnn

  • @224_harsh2
    @224_harsh2 Год назад +1

    :)

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

    3:40 wouldn't we take the padding?

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

      The matrix he's referring to is most likely after the filter has been applied. Padding is on the original image matrix, on which filter is applied.

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

      ​@@chanmad ​ Still convoluted output will be 5x5. After padding input is 6x6 so, i=6,f=2 then ((6-2)/1)+1=5 .

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

    Isn't the formula supposed to be (n +2p - f)/s + 1 ?

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

    can anyone tell me what max pooling of size 1x1 do?

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

    Here stride =2

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

    The input to a pooling layer has a width, height and depth of 224x224x3 respectively. The pooling layer has the following properties:
    Kernel shape: 2x2
    Stride: 2
    PLEASE HELP ME

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

    CNN is a bit confusing than ANN...

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

    Sir please first continue with ml in 90 days, after that we can learn deep learning.

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

    not clear..do we apply max pooling in output!!i mean max pooling is not clear.first video which is this much unclear to me.

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

    3:40

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

    Hello. Could you please speak more slowly?

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

    This guy is a legend of the game I was watching 7 hours of deep learning video in which CNN WAS 1 HOUR AND my doubts were still not cleared this guy did it in few minutes I am highly impressed by your skills Sir

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

    great explanation