{mentor edit: code removed}
i am getting
Wrong values when training=False. as error,
{mentor edit: code removed}
i am getting
Wrong values when training=False. as error,
—> 14 assert np.allclose(A.numpy(), convolutional_block_output1), “Wrong values when training=False.”
15 print(A[0])
16
AssertionError: Wrong values when training=False.
I am also getting similar kind of error
I think the batch normalization for X_shortcut should use X_shortcut from the Conv2D layer, not X.
Also, I have edited your post to remove the code, since posting your code is not allowed by the Honor Code.
ohh! sorry i didn’t know that
it still didm’t work
i got the same prob even after fixing x and x_shortcut
I have the same error, I fixed by change input_data is X to X_shortcut in #SHORTCUT PATH, it works for me.
Thanks a lot man! This was such a silly error I spent hours trying to debug
Wonderful! u saved us all a lot of headache