deep_dialog_tutorial icon indicating copy to clipboard operation
deep_dialog_tutorial copied to clipboard

Restoreできませんでした。

Open kpis-msa opened this issue 4 years ago • 0 comments

Restoreのところで、チェックポイントファイルを保存するところで、下記エラーが出てしまいました。 原因と対策をご教示頂ければ幸いです。


ValueError Traceback (most recent call last) in () 3 sess.run(tf.global_variables_initializer()) 4 saver = tf.train.Saver() ----> 5 saver.restore(sess, load_path)

/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py in restore(self, sess, save_path) 1280 if not checkpoint_management.checkpoint_exists_internal(checkpoint_prefix): 1281 raise ValueError("The passed save_path is not a valid checkpoint: " + -> 1282 checkpoint_prefix) 1283 1284 logging.info("Restoring parameters from %s", checkpoint_prefix)

ValueError: The passed save_path is not a valid checkpoint: /content/drive/My Drive/Colab Notebooks/deep_dialog_tutorial-master/learned_model/rnnlm/model.ckpt

kpis-msa avatar Oct 06 '20 02:10 kpis-msa