I tried
from keras.utils.np_utils import probas_to_classes
but didn't find it.
What is new functionality?
probas.argmax(axis=-1)
What is the replacement for "probas_to_classes" in keras 2.0.3 ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed.
In case of pred=model.predict(img)
I used (pred[0:]) to fetch the class label for the decision making
I case of Binary class prediction (pred[0:]) results out "1" or "0"
Most helpful comment
probas.argmax(axis=-1)