Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
61 views

Padding in Convolution Formula

Why is it that the formula for each element in a convolution between an image $I$ and a $k \times k$ sized kernel $K$ is $$ (I*K)_{ij}=\sum_{m=0}^{k-1}\sum_{n=0}^{k-1}I_{(i-m),(j-n)}K_{mn}=\sum_{m=0}^{...
dontloseyourgoalie's user avatar
2 votes
0 answers
54 views

Help required in understanding how the error of a convolutional layer is calculated when filter and delta of next layer have differing dimensions

I am trying to implement a CNN in NumPy so as to better understand its inner workings My architecture is as follows 10 images with 1 channel and with 28-pixel rows and columns (Dimension : (...
adhok's user avatar
  • 121
1 vote
1 answer
736 views

How CNN applies backpropagation to update its weights and biases?

I understand that the 3 main layers for CNN are convolutional layer, ReLU layer and pooling layer. However, I do not understand how CNN updates its weights and biases using backpropagation. I ...
Idonknow's user avatar
  • 101
0 votes
0 answers
356 views

Forward and backward pass in Conv2D transpose Layer

I’ve several questions regarding the transposed convolution 2d layer. I’ve not been able to find a proper resource explaining the forward and backward pass. What I know (but not for sure) is, that ...
Bastian's user avatar
  • 101
2 votes
0 answers
170 views

SGD learning gets stuck when using a max pooling layer (but it works fine with just conv + fc)

I'm working on a CNN library for a university project and I'm having some trouble implementing the backpropagation through the max pooling layer. Please note that the whole thing was built from ...
Sergio0694's user avatar