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 sir,
I am able to train the model successfully using the code provided in "Deep-learning with Python". I saved the keras model as well.I am trying to predict with a test image of my own. I used the same code as yours but I am running into the error:
ValueError: Error when checking input: expected conv2d_input to have 4 dimensions, but got array with shape (1, 200, 200)
Any idea how to fix this?
The text was updated successfully, but these errors were encountered:
Hello sir,
I am able to train the model successfully using the code provided in "Deep-learning with Python". I saved the keras model as well.I am trying to predict with a test image of my own. I used the same code as yours but I am running into the error:
ValueError: Error when checking input: expected conv2d_input to have 4 dimensions, but got array with shape (1, 200, 200)
Any idea how to fix this?
The text was updated successfully, but these errors were encountered: