You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
In course 4 (ConvNets), Week2, Assignment 1 (ResNets) , section 3.2 (The convolutional block), I did the implementation myself and got an error. When I looked at this solution, I find it exactly the same as mine but gives the same error:
I am getting the following error in the function "convolutional block":
AssertionError Traceback (most recent call last)
Input In [13], in <cell line: 14>()
12 assert type(A) == EagerTensor, "Use only tensorflow and keras functions"
13 assert tuple(tf.shape(A).numpy()) == (3, 2, 2, 6), "Wrong shape."
---> 14 assert np.allclose(A.numpy(), convolutional_block_output1), "Wrong values when training=False."
15 print(A[0])
17 B = convolutional_block(X, f = 2, filters = [2, 4, 6], training=True)
AssertionError: Wrong values when training=False.
Can you please advise?
Thanks,
Boris M.
The text was updated successfully, but these errors were encountered:
Hello
In course 4 (ConvNets), Week2, Assignment 1 (ResNets) , section 3.2 (The convolutional block), I did the implementation myself and got an error. When I looked at this solution, I find it exactly the same as mine but gives the same error:
I am getting the following error in the function "convolutional block":
AssertionError Traceback (most recent call last)
Input In [13], in <cell line: 14>()
12 assert type(A) == EagerTensor, "Use only tensorflow and keras functions"
13 assert tuple(tf.shape(A).numpy()) == (3, 2, 2, 6), "Wrong shape."
---> 14 assert np.allclose(A.numpy(), convolutional_block_output1), "Wrong values when training=False."
15 print(A[0])
17 B = convolutional_block(X, f = 2, filters = [2, 4, 6], training=True)
AssertionError: Wrong values when training=False.
Can you please advise?
Thanks,
Boris M.
The text was updated successfully, but these errors were encountered: