What is checkpoint_path means?

Hi OpenNMT Forum,

I want to do retraining for my model. Can someone help me with --checkpoint_path in this link below means?
http://opennmt.net/OpenNMT-tf/training.html#fine-tune-an-existing-model

Because the explanation on that page is too short, i don’t know what are the things that will improve if I use that command. Thank you

Hi

Basically retraining will continue training your model as if it didn’t stopped, so you need to tell opennmt where is that model

--chekpoint-path is the path to your model directory, where your model is saved in files like:

model.ckpt-600000.data-00000-of-00002
model.ckpt-600000.data-00001-of-00002
model.ckpt-600000.index
model.ckpt-600000.meta

Note that you can modify some non-structural parameters of your model in the retraining session if you want, like dropout

4 Likes