You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a lot of documentation out there about using the resume_from_checkpoint keyword in a pytorch trainer however this is wrong. In the latest pytorch version, one needs to provide the path to the checkpoint (.ckpt file) itself in the fit function for the trainer to get it going. here's some popular incorrect references -
I wanted this to get visibility because knowing how to resume training from checkpoints is imperative and there's a lot of wrong information out there!
Yup I went to the docs to figure out the correct solution. I hope this gets
sufficient attention because most of the top results and AI generated
answers are wrong.
Boston University Class of 2024
MS in Computer Science (2022-2024)
BA in Mathematics and Computer Science (2020-2024)
https://www.arkashj.com/
+1 857-701-6117| linkedin.com/in/arkashj
<https://www.linkedin.com/in/arkashj> | <http://goog_2001913241>
https://github.com/ArkashJ
📚 Documentation
There's a lot of documentation out there about using the
resume_from_checkpoint
keyword in a pytorch trainer however this is wrong. In the latest pytorch version, one needs to provide the path to the checkpoint (.ckpt file) itself in the fit function for the trainer to get it going. here's some popular incorrect references -ChatGPT and claude also got this wrong:
I wanted this to get visibility because knowing how to resume training from checkpoints is imperative and there's a lot of wrong information out there!
cc @Borda
The text was updated successfully, but these errors were encountered: