0

in google colaboratory using python, I am trying to load model to classify I am trying to load keras model using python to classify image, I am getting above error

Pra
  • 1
  • 1

1 Answers1

0

predict_classes is only available for the Sequential class.

With the Model class, you can use the predict method which will give you a vector of probabilities and then get the argmax of this vector (with np.argmax(y_pred1,axis=1)).

Rohith
  • 1
  • 1
  • 1