pytorch-seq2seq-example icon indicating copy to clipboard operation
pytorch-seq2seq-example copied to clipboard

model is not loading from last epoch and iteration

Open sid972 opened this issue 5 years ago • 1 comments

Hello,

I am learning about seq2seq model, I am trying to run your model, It ran perfect but when I am trying to load from last saved state it picks up perfectly from last global step but it does not start from the last iteration and epoch i.e. It starts again from 0 iterations and 0 epoch. Can you please suggest me a possible solution for this?.

sid972 avatar Jan 24 '19 09:01 sid972

@sid972 Hi, I think you can also save iteration/epoch step in checkpoint, then reload them if you wanna retrain the model.

howardyclo avatar Jan 25 '19 02:01 howardyclo