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的后缀即可
相关文章
|
10月前
|
C#
C# File.Copy介绍
C# File.Copy介绍
InvalidJobConfException: Output directory not set
InvalidJobConfException: Output directory not set
79 0
ftok info: No such file or directory
ftok info: No such file or directory
279 0
FILE
FILE
134 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无法正常读取文件
|
存储 缓存 Android开发