Hi,
I passed the tests after implementing the model with train accuracy: 99.04306220095694
test accuracy: 70.0 .
I am not able to look at predictions on pictures of the test set. The cell throws -TypeError: only integer scalar arrays can be converted to a scalar index
I think the problem is with your num_px
. The num_px
is an integer (64) and ‘int’ object has no attribute “shape”. Then how is your num_px
shape (64, 64, 3)?
Maybe you need to double-check how you are defining num_px
in Exercise 1. Or you are changing it somewhere.