我是靠谱客的博主 酷炫仙人掌,这篇文章主要介绍file is too short to be an sstable [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DTfile is too short to be an sstable [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOA,现在分享给大家,希望可以做个参考。

file is too short to be an sstable [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_F

tf版加载模型报错:

https://github.com/YadiraF/PRNet

PRNet是Joint 3D Face Reconstruction and Dense Alignment with Position Map Regression Network中提出的3D人脸重建算法模型,文章发表于ECCV2018,利用神经网络直接预测了3D landmark,取得了不错的效果。
 

tf1.15 报错:

ValueError: The passed save_path is not a valid checkpoint: Datanet-data256_256_resfcn256_weight

经过测试,发现如果模型文件不存在,也会报这个错。

开源网络提供的预训练缺少模型的index文件。

找到补上就可以了。

网上方法1:

解决方法:在resume前面加上tf.reset_default_graph(),这样使得每次恢复时模型会转化成默认的图。

我这里不行。

最后

以上就是酷炫仙人掌最近收集整理的关于file is too short to be an sstable [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DTfile is too short to be an sstable [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOA的全部内容,更多相关file内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(97)

评论列表共有 0 条评论

立即
投稿
返回
顶部