This currently behaves strangely with e.g. on_epoch_begin callback being called once for the training epoch and once for the subsequent validation 'epoch.
When training, Keras does:
on_train_begin
on_epoch_begin
on_train_batch_begin
on_train_batch_end
on_test_begin
on_test_batch_begin
on_test_batch_end
on_test_end
on_epoch_end
on_train_end
5-8 only happen when doing validation.
When testing, only 5-8 occur.
This currently behaves strangely with e.g.
on_epoch_begin
callback being called once for the training epoch and once for the subsequent validation 'epoch.When training, Keras does:
5-8 only happen when doing validation. When testing, only 5-8 occur.