The passed save_path is not a valid checkpoin
Espoirzxl opened this issue · 3 comments
Espoirzxl commented
Traceback (most recent call last):
File "predict.py", line 43, in
MODEL = ModelAlbertTextCNN()
File "predict.py", line 26, in init
self.albert, self.sess = self.load_model()
File "predict.py", line 39, in load_model
saver.restore(sess, ckpt.model_checkpoint_path)
ValueError: The passed save_path is not a valid checkpoint
c1258797185 commented
需要把model/model_01下的checkpoint文件复制到model/load_01目录下
Espoirzxl commented
需要把model/model_01下的checkpoint文件复制到model/load_01目录下
我修改了一下文件,已经解决啦,谢谢。
dcdethan commented
棒!