I am confused that where is the output (in orange) coming from?
Since the code should be ended up with “Reached 60% accuracy so cancelling training!”
Its 85% here not 60%.
keras.callbacks.ProgbarLogger
is responsible for the additional print after your custom callback gets invoked.
Posting code in a public topic is discouraged. It’s okay to share stacktrace on a public post and send code to a mentor via direct message. Please remove the code.
2 Likes