bloomsburyai / question-generation

Neural text-to-text question generation
MIT License
216 stars 52 forks source link

How do i get the .ckpt file for the model ? #30

Closed pidugusundeep closed 5 years ago

pidugusundeep commented 5 years ago

How do I get the .ckpt file for the model? Or generate?

tomhosking commented 5 years ago

It's in the zip file provided, it's just got a different name. It's saved here.

pidugusundeep commented 5 years ago

Screenshot from 2019-08-23 13-21-09 Is that the second file listed in the structure? can I rename the same and use it ??

tomhosking commented 5 years ago

You should just be able to do something like saver.restore(sess, restore_path + 'model.checkpoint') (or actually I think saver.restore(sess, restore_path) works and uses the latest file listed in checkpoint)

pidugusundeep commented 5 years ago

Got it thanks.