Week 4 Assignment strange error


I get this error and I don’t know how to fix it

1 Like

i am facing the same problem…

hello, try to set trainig image axis=3, it worked for me , hope it will work for u too. :handshake:

training_images = np.expand_dims(training_images,axis=3)