Files
pytorch-lightning/docs/source
65b4352930 early stopping checks on_validation_end (#1458)
* Fixes PyTorchLightning/pytorch-lightning#490

`EarlyStopping` should check the metric of interest `on_validation_end` rather than `on_epoch_end`. 
In a normal scenario, this does not cause a problem, but in combination with `check_val_every_n_epoch>1` in the `Trainer` it results in a warning or in a `RuntimeError` depending on `strict`.

* Highlighted that ES callback runs on val epochs in docstring

* Updated EarlyStopping in rst doc

* Update early_stopping.py

* Update early_stopping.rst

* Update early_stopping.rst

* Update early_stopping.rst

* Update early_stopping.rst

* Apply suggestions from code review

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update docs/source/early_stopping.rst

* fix doctest indentation warning

* Train loop calls early_stop.on_validation_end

* chlog

Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka <jirka@pytorchlightning.ai>
2020-05-25 17:33:00 +00:00
..
2020-05-15 08:36:40 -04:00
2020-05-04 22:16:54 -04:00
2020-05-14 08:25:06 -04:00
2020-05-04 22:16:54 -04:00
2020-05-23 16:38:37 +01:00
2020-05-19 11:05:07 -04:00
2020-05-19 11:05:07 -04:00
2020-05-04 22:16:54 -04:00
2020-05-04 22:16:54 -04:00
2020-05-04 22:16:54 -04:00
2020-05-04 22:16:54 -04:00
2020-04-23 20:46:18 -04:00