Skip to content

Conversation

@neggert
Copy link
Contributor

@neggert neggert commented Dec 8, 2019

#598 introduced as subtle bug where Trainer.train would crash on an uninitialized variable if the trainer was run after resuming from a checkpoint that was already at max_epochs. This PR makes sure we always have a reference to the model, even if the train loop never runs.

@williamFalcon williamFalcon merged commit 2baa80d into Lightning-AI:master Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants