perhaps your file is in a different file format and youneed to use a different restore operator?

简介: perhaps your file is in a different file format and youneed to use a different restore operator?

报错:

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的后缀即可
相关文章
成功解决OSError: Unable to open file (truncated file: eof = 8388608, sblock->base_addr = 0, stored_eof =
成功解决OSError: Unable to open file (truncated file: eof = 8388608, sblock->base_addr = 0, stored_eof =
成功解决OSError: Unable to open file (truncated file: eof = 8388608, sblock->base_addr = 0, stored_eof =
|
6月前
|
C#
C# File.Copy介绍
C# File.Copy介绍
ftok info: No such file or directory
ftok info: No such file or directory
191 0
Can‘t read file : End of file found 文件:txn_current、current svn无法正常读取文件
Can‘t read file : End of file found 文件:txn_current、current svn无法正常读取文件
Can‘t read file : End of file found 文件:txn_current、current svn无法正常读取文件