咋GitHub下载的项目基于tensorflow做的RNN测试,大神们,求帮助
发布于 2月前 作者 xuejianhua 来自问答

File "C:/Python/RNN/Char-RNN-TensorFlow-master/Char-RNN-TensorFlow-master/sample.py", line 30, in main
model.load(checkpoint='C:\Python\RNN\Char-RNN-TensorFlow-master\Char-RNN-TensorFlow-master\model\shakespeare')
File "C:\Python\RNN\Char-RNN-TensorFlow-master\Char-RNN-TensorFlow-master\model.py", line 170, in load
self.saver.restore(self.session, checkpoint)
File "C:\ProgramData\Anaconda\envs\py36\lib\site-packages\tensorflow\python\training\saver.py", line 1278, in restore
compat.as_text(save_path))
ValueError: The passed save_path is not a valid checkpoint: C:\Python\RNN\Char-RNN-TensorFlow-master\Char-RNN-TensorFlow-master\model\shakespeare

回到顶部