Padding in Convolutional Neural Network

Sdílet
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

Komentáře • 33

  • @mariamhm
    @mariamhm Před 5 měsíci +6

    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!

    • @CodingLane
      @CodingLane  Před 5 měsíci

      Hey, I am elated. Glad I could help. All the best for future!

  • @Ramu9119
    @Ramu9119 Před 8 hodinami

    thanks for the video champ

  • @jaisarita
    @jaisarita Před 5 měsíci

    Really nice explanation ❤

  • @williammartin4416
    @williammartin4416 Před 3 měsíci +1

    Thanks!

  • @user-xx4sl1qk1o
    @user-xx4sl1qk1o Před dnem

    genius genius broooooooooo

  • @DJKim-pq5rn
    @DJKim-pq5rn Před rokem

    wow this is a great video

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

    You are doing a great job. Keep uploading new videos.

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

    Can you provide any notes about all this convultion neural networks
    That might help for my project
    Any ways nice explanation & content bro

  • @shahidulislamzahid
    @shahidulislamzahid Před 5 měsíci +1

    Helpful! Thank you.

  • @Sickkkkiddddd
    @Sickkkkiddddd Před rokem +1

    Maaaaaaaaaan, you make this stuff really simple... sigh. Its a relief.
    Edit: please use a white marker next time on your black background.

  • @danyalkhan8923
    @danyalkhan8923 Před rokem

    Thanks g

  • @AnkitaKumari-hw8bx
    @AnkitaKumari-hw8bx Před 2 lety +6

    Plz upload more frequently,t's really easy for us to understand from your teaching

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

      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. 🙂

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

    Amazing videos

    • @CodingLane
      @CodingLane  Před 2 lety

      Thanks for your continuous support

  • @sihatafnan5450
    @sihatafnan5450 Před rokem +1

    Great content
    just one suggestion, red pen over black background isnt a good choice

  • @mugomuiruri2313
    @mugomuiruri2313 Před 7 měsíci

    good

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

    Thanx

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

    Bubber Shair veer.....Shahzada

  • @Seba_Crea
    @Seba_Crea Před rokem

    👍

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

    you should have added, If kernel size is non-symetric matrix then how to do padding

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

      Okay thanks for the suggestion 😇… will try to add it in the future video

  • @requanmoseni7027
    @requanmoseni7027 Před 3 měsíci

    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

    • @magmanik5833
      @magmanik5833 Před 20 dny

      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.

  • @ANILKUMAR-mn7pk
    @ANILKUMAR-mn7pk Před 8 měsíci

    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

    • @WOLVERINE-15
      @WOLVERINE-15 Před 7 měsíci

      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)

    • @aniket_kalta
      @aniket_kalta Před 4 měsíci

      Apply 3*3 filter to get 4*4 pixel image

    • @requanmoseni7027
      @requanmoseni7027 Před 3 měsíci

      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????