I am getting such an error, but I did the steps correctly based on the instruction.
Can anyone help?
Exercise 2
AssertionError Traceback (most recent call last)
in
15 assert type(A) == EagerTensor, “Use only tensorflow and keras functions”
16 assert tuple(tf.shape(A).numpy()) == (3, 2, 2, 6), "Wrong shape. "
—> 17 assert np.allclose(A.numpy(), convolutional_block_output1)
18 print(A[0])
19 print(’\033[92mAll tests passed!’)
AssertionError:
Exercise 3:
"Test failed
Expected value
[‘Conv2D’, (None, 15, 15, 256), 16640, ‘valid’, ‘linear’, ‘GlorotUniform’]
does not match the input value:
[‘BatchNormalization’, (None, 15, 15, 256), 1024]"