lightning/pytorch_lightning/callbacks
Adrian Wälchli 1e68968ed7
support num_sanity_val_steps=-1 (#2246)
* support sanity_val_step=-1

* fix list size

* simplification

* simplify

* add test for num_sanity_val_steps=-1

* update test

* update docs

* extend tests to multiple dataloaders

* changelog

* Update tests/trainer/test_trainer.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* improve test

* refactor the sanity check decision

* fix merge

* Update trainer.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-07-23 07:07:03 -04:00
..
__init__.py Learning rate log callback (#1498) 2020-04-30 08:06:41 -04:00
base.py Structured results (train loop only. val loop separate PR) (PR 2/5) (#2615) 2020-07-20 19:00:20 -04:00
early_stopping.py EvalResult support for val loop (PR 3/5) (#2651) 2020-07-22 13:53:10 -04:00
gradient_accumulation_scheduler.py Revert/Fix: epoch indexing from 1, to be from 0 (#2289) 2020-06-19 23:39:53 -04:00
lr_logger.py replace train_percent_check with limit_train_batches (#2220) 2020-06-17 13:42:28 -04:00
model_checkpoint.py EvalResult support for val loop (PR 3/5) (#2651) 2020-07-22 13:53:10 -04:00
progress.py support num_sanity_val_steps=-1 (#2246) 2020-07-23 07:07:03 -04:00