lightning/pytorch_lightning/callbacks
Jeremy Jordan 705e576417
consolidate callbacks and hooks (#950)
* consolidate callbacks and hooks

* ensure callbacks recieve proper arg types

* remove model from init callback events

* clean up early stopping event

* update changelog

* remove on_fit_start and on_fit_end

* fix args for on_init_start and on_init_end

* handle case where early stopping is not used

* show all callback methods

* wrap checkpoint callback logic into proper class

* fix check for main process in checkpoint callback

* move callbacks test to separate file

* refactor arg checks

* get model and call hook on same line

* define trainer_options dict in one call

* add more asserts to callback test
2020-03-02 23:51:32 -05:00
..
__init__.py Split callbacks (#849) 2020-02-22 21:45:34 -05:00
base.py consolidate callbacks and hooks (#950) 2020-03-02 23:51:32 -05:00
early_stopping.py consolidate callbacks and hooks (#950) 2020-03-02 23:51:32 -05:00
gradient_accumulation_scheduler.py Callbacks [wip] (#889) 2020-02-25 23:17:27 -05:00
model_checkpoint.py consolidate callbacks and hooks (#950) 2020-03-02 23:51:32 -05:00