报错:
tensorflow.python.framework.errors_impl.DataLossError: Unable to open table file /home/wpq/data/model.ckpt.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 have fixed the issue by this:
replace model.ckpt the model.ckpt.data-00000-of-00001
即使用 model.ckpt替换 model.ckpt.data-00000-of-00001,去掉model.ckpt.data-00000-of-00001的后缀即可
解决TensorFlowDataLossError:模型文件修复
文章描述了在遇到TensorFlow运行时的DataLossError,无法打开模型文件的问题。错误提示表明文件格式不正确。作者提供的解决方案是用model.ckpt直接替换model.ckpt.data-00000-of-00001,通过修改文件名来解决数据丢失问题。
6366

被折叠的 条评论
为什么被折叠?



