-
Couldn't load subscription status.
- Fork 3.6k
Closed
Labels
featureIs an improvement or enhancementIs an improvement or enhancementhelp wantedOpen to be worked onOpen to be worked onwon't fixThis will not be worked onThis will not be worked on
Description
🚀 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_starton_val_batch_endon_test_batch_starton_test_batch_end
and make on_batch_start run on any of the above *_start (same for on_batch_end)
Further suggestions:
- introduce
on_train_epoch_start,on_val_epoch_start,on_test_epoch_startand corresponding*_endmethods.
Alternatives
Keep as is, but I don't know how to implement the progress bar callback otherwise for validation/test updates.
jeremyjordan and hadim
Metadata
Metadata
Assignees
Labels
featureIs an improvement or enhancementIs an improvement or enhancementhelp wantedOpen to be worked onOpen to be worked onwon't fixThis will not be worked onThis will not be worked on