How to predict class label from class probability given by predict_generator for testdata? While using Keras' flow_from_directory method to train my model on a multi-class image classification problem, the predict_generator function gives the class probabilities.

So, my query is how to get the corresponding class-labels for those class probabilities?
You just take the class with the maximum probability. This can be done using numpy argmax function.