You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
I can successfully train on a different corpus with rnn_train.py and get these files in /checkpoints:
rnn_train_1487755124-1500000.meta
rnn_train_1487755124-1500000.data-00000-of-00001
rnn_train_1487755124-1500000.index
checkpoint
Unfortunately I am unable to use the saved checkpoint with rnn_play.py.
I changed the filepaths to the .meta and .data files above in rnn_play.py but get this error:
DataLossError (see above for traceback): Unable to open table file .\rnn_train_1487755124-1500000.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
I already checked GitHub and SO for possible answers but couldn´t solve it that way.
How can I fix this? Any help is very much appreciated.
The text was updated successfully, but these errors were encountered:
for me the problem was that I did not change the name of the "author" in the rnn_play session restore. change it to tf.train.latest_checkpoint and then (at least for me) it works with V2
I can successfully train on a different corpus with rnn_train.py and get these files in /checkpoints:
Unfortunately I am unable to use the saved checkpoint with rnn_play.py.
I changed the filepaths to the .meta and .data files above in rnn_play.py but get this error:
DataLossError (see above for traceback): Unable to open table file .\rnn_train_1487755124-1500000.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
I already checked GitHub and SO for possible answers but couldn´t solve it that way.
How can I fix this? Any help is very much appreciated.
The text was updated successfully, but these errors were encountered: