W2 Assignment 1 Ex 3 error

I get the following error and I can’t figure out why. The error seems to be with the padding but non of the blocks that you have to add have any padding. What is wrong in my code?

Test failed
Expected value

[‘Conv2D’, (None, 15, 15, 256), 16640, ‘valid’, ‘linear’, ‘RandomUniform’]

does not match the input value:

[‘Conv2D’, (None, 15, 15, 256), 16640, ‘same’, ‘linear’, ‘RandomUniform’]

Well, “same” padding is not the default on a Conv2D layer, right? So how did that happen? You must have specified that someplace where it was not requested.

You can print out the summary of your model or the one that it is comparing against to get a more exact idea of which layer it is that is not matching.

1 Like

Amazing thanks!!

1 Like