lightning/tests/base
Jean-Baptiste SCHIRATTI cea5f1f538
Fix for `load_from_checkpoint` (#2776)
* Fix.

* Fix #2550: allow to load model from checkpoint if self.save_hyperparameters() was not called.

* Fix? Cleaner way of not calling self.save_hyperparameters in EvalModelTemplate.

* Fix? `_load_model_state` cleanup

* Fix?

* Fix #2550: allow to load model from checkpoint if self.save_hyperparameters() was not called.

* Fix.

* Fix? Cleaner way of not calling self.save_hyperparameters in EvalModelTemplate.

* Fix? `_load_model_state` cleanup

* Fixed side effect in `test_load_model_from_checkpoint_extra_args`.

* Apply suggestions from code review

* fix

* try

* fixed missing arg in evalmodel

* fixed missing arg in evalmodel

* fix

* update

* fix loading

* add test

* prune

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-10-05 12:44:23 -04:00
..
__init__.py verified epoch logging (#3830) 2020-10-03 21:17:24 -04:00
boring_model.py verified epoch logging (#3830) 2020-10-03 21:17:24 -04:00
dataloaders.py Bugfix/_has_len (#2307) 2020-06-26 09:31:08 -04:00
datamodules.py Support checkpoint hooks on data module (#3563) 2020-09-29 19:51:44 +02:00
datasets.py clean tests imports (#2834) 2020-08-06 16:58:51 +02:00
deterministic_model.py [WIP] ref: deprecated results obj, added support for simpler comms (1/n) (#3681) 2020-09-27 23:19:46 -04:00
develop_pipelines.py Add a more direct test of multi-gpu training working (#2084) 2020-09-29 15:38:09 +02:00
develop_utils.py fix dp issues + update examples and test examples (#3618) 2020-09-23 00:19:46 -04:00
mixins.py Fix lr key name in case of param groups (#1719) 2020-05-10 17:05:34 -04:00
model_optimizers.py Fix batch_outputs with optimizer frequencies (#3229) 2020-09-10 23:01:20 +02:00
model_template.py Fix for `load_from_checkpoint` (#2776) 2020-10-05 12:44:23 -04:00
model_test_dataloaders.py Add missing test for "multiple dataloader + percent_check fix" (#2226) 2020-06-23 11:21:24 -04:00
model_test_epoch_ends.py Add missing test for "multiple dataloader + percent_check fix" (#2226) 2020-06-23 11:21:24 -04:00
model_test_steps.py ref: result 1/n (make monitor default to checkpoint_on to simplify re… (#3571) 2020-09-20 22:58:43 -04:00
model_train_dataloaders.py Bugfix/_has_len (#2293) 2020-06-19 23:38:15 -04:00
model_train_steps.py ref: (results 1/n) enable tracking original metric when step and epoch are both true (#3685) 2020-09-27 22:08:31 -04:00
model_utilities.py repair CI for Win (#2358) 2020-06-26 21:38:25 -04:00
model_valid_dataloaders.py Add missing test for "multiple dataloader + percent_check fix" (#2226) 2020-06-23 11:21:24 -04:00
model_valid_epoch_ends.py ref: bug fix with logging val epoch end + monitor (#3812) 2020-10-03 12:33:29 -04:00
model_valid_steps.py enable None model checkpoint default (#3669) 2020-09-26 23:14:04 -04:00
models.py Use `raise .. from ..` to explicitly chain exceptions (#3750) 2020-10-01 21:45:44 +02:00
simple_model.py ref: bug fix with logging val epoch end + monitor (#3812) 2020-10-03 12:33:29 -04:00
test_datasets.py fixing TPU tests (#2632) 2020-07-27 19:07:09 -04:00