加载checkpoint问题
生活随笔
收集整理的这篇文章主要介绍了
加载checkpoint问题
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
加载checkpoint文件时,报错
tensorflow.python.framework.errors_impl.NotFoundError: /home/xzw/models/research/object_detection/remove_coach/runs/1555550450/checkpoints; No such file or directory
据错误提示,本人推测:将本地checkpoint目录传入 tf.train.latest_checkpoint() 后,会调用 get_matching_files() 返回checkpoint路径,而此路径是绝对路径,迁移学姐代码需要修改为本地路径,故编辑checkpoint文件修改路径
转载于:https://www.cnblogs.com/wind-chaser/p/11341197.html
总结
以上是生活随笔为你收集整理的加载checkpoint问题的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: php 23种设计模型 - 组合模式(合
- 下一篇: 从C开始,重新开始