Skip to content

How to continue training? #225

Answered by lukas-blecher
dungcan2k5 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

from google.colab import drive
drive.mount('/content/gdrive')

To resume the next day you need to save the weights as weights.pth in the project root.

Hope that helps

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dungcan2k5
Comment options

Answer selected by dungcan2k5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants