Keras : get back labels from a model I have a saved keras model.
How can I get back the labels from the model ?

Because right now, I can use the predict method to get back the probability for a sample to belong to a certain class e.g. class 1, 2, 3.

But how can I know what class 1, 2, 3 correspond to in the model e.g. cat, dog, bird ?
You can use the argmax function to get the class labels. Please refer to this link for more information. Hope this answers your question.