suriyadeepan / practical_seq2seq

A simple, minimal wrapper for tensorflow's seq2seq module, for experimenting with datasets rapidly
http://suriyadeepan.github.io/2016-12-31-practical-seq2seq/
GNU General Public License v3.0
569 stars 270 forks source link

Restore last session for training #24

Open kenyeung128 opened 7 years ago

kenyeung128 commented 7 years ago

Hi,

What would be the way to restore session from last training?

I tried the code as below, but it shows the cpkt saving to 1000 instead of the number i have in the cpkt folder.

print('\nRestoring session...') sess = model.restore_last_session() print('\nTraining...') sess = model.train(train_batch_gen, val_batch_gen, sess)

Thanks. Ken

Jatapiaro commented 7 years ago

Did you find a solution?

Jatapiaro commented 7 years ago

@suriyadeepan Same issue, I have tried everything, but it simple starts from scratch. @kenyeung128 did you find a solution? https://github.com/suriyadeepan/practical_seq2seq/issues/2 Doesn't work