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月前
|
Java
cannot open shared object file: No such file or directory
cannot open shared object file: No such file or directory
79 0
|
安全 关系型数据库 MySQL
xtrabackup 问题“Too many open files”system error number 24
一个MySQL数据库备份的时候出现下面的错误
181 0
FILE
FILE
115 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无法正常读取文件