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 =
InvalidJobConfException: Output directory not set
InvalidJobConfException: Output directory not set
76 0
ftok info: No such file or directory
ftok info: No such file or directory
258 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无法正常读取文件
|
定位技术 开发者 图形学
20170401 11G Deprecated Attributes for LOG_ARCHIVE_DEST_n
[20170401]11G Deprecated Attributes for LOG_ARCHIVE_DEST_n.txt --//前几天与itpub一个网友的交流,提到LOG_ARCHIVE_DEST_n参数提到如下参数已经废除了,做一个记录.
1035 0