More granular callbacks #1440
Labels
feature
Is an improvement or enhancement
help wanted
Open to be worked on
won't fix
This will not be worked on
🚀 Make callback system more granular
Motivation
I am currently implementing #765 (make progress bar into a callback) and I need additional callback methods to do this.
Pitch
introduce these new callback methods:
on_train_batch_start
(currently namedon_batch_start
)on_train_batch_end
(currently namedon_batch_end
)on_val_batch_start
on_val_batch_end
on_test_batch_start
on_test_batch_end
and make
on_batch_start
run on any of the above*_start
(same foron_batch_end
)Further suggestions:
on_train_epoch_start
,on_val_epoch_start
,on_test_epoch_start
and corresponding*_end
methods.Alternatives
Keep as is, but I don't know how to implement the progress bar callback otherwise for validation/test updates.
The text was updated successfully, but these errors were encountered: