Closed mohit-madan closed 3 years ago
Please check out the updated code and refer to the example config file config-rnn-keyphrase-one2seq-localtest.yml.
The key is to set reset_optim
to all
. It seems the optimizer states of the previous ckpt cannot be properly loaded.
Thanks, Rui
I am trying to train my data starting from an existing top-kp20k checkpoints. I have set train_from to "kp20k-meng17-random-rnn-BS64-LR0.05-Layer1-Dim150-Emb100-Dropout0.0-Copytrue-Reusetrue-Covtrue-PEfalse-Contboth-IF1_step_90000.pt" and remaining config same as "config-rnn-keyphrase-one2seq-diverse". I am getting this error when trying to start the training:
How can I start training my data from an existing top model?