When I call model.predict
in callbacks, the model.history.history
will be an empty dict.
I saw the same issue here
Not calling predict
is not an option, as I have to use that in the callback to save model based on the validation metric (f1, auc, etc.)