Files
pytorch-lightning/pytorch_lightning/trainer
Fabio Natanael KeplerandJirka Borovec 8c4c7b105e Fix save_weights_only flag in ModelCheckpoint (#1780)
* Add flag to `dump_checkpoint` for only including weights

`ModelCheckpoint` then passes `self.save_weights_only` to the save function.

* Fix tests and add changelog entry

* Add check and descriptive message when training state is restored from a weights only checkpoint

Also add a test for making sure `ModelCheckpoint.save_weights_only` works as expected.

* Fix weights-only test to properly match expected exception

* Apply suggestions from code review

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

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-05-17 09:24:17 -04:00
..
2020-05-07 09:25:54 -04:00
2020-05-13 19:17:04 -04:00
2019-09-26 13:20:54 -04:00
2020-05-14 10:34:11 -04:00
2020-05-07 09:25:54 -04:00
2020-05-14 10:34:11 -04:00