How to continue training? #225
-
Hi Lukas, this project is really cool, but now I have a little question that needs your help. I trained the model based on your manual. Now I want to pause the training (due to the time limit on colab), how can I resume my work tomorrow? One more time, thank you very much |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, the model should be saved in the colab at the path from google.colab import drive
drive.mount('/content/gdrive') To resume the next day you need to save the weights as Hope that helps |
Beta Was this translation helpful? Give feedback.
Hello,
the model should be saved in the colab at the path
/content/pix2tex/model/checkpoints
.You can download it from there and upload it the next day or save it on gdrive which might be faster if your upload speed is not the best.
E.g.
To resume the next day you need to save the weights as
weights.pth
in the project root.Hope that helps