I got this error after implementing the code for the convolutional block of the ResNet

I’ve checked and rechecked I cant find the cause of the error

Its obvious that the error is with the function implementation. You need to go back and check its implementation otherwise what we see here is very vague to pinpoint where exactly the error is!

I was able to find the source of the error. I was supposed to multiply by ‘X_shortcut’ instead of X in the shortcut path of the block

1 Like