首页 > 解决方案 > Acumos:docker 容器无法找到 tensorflow graph.meta

问题描述

我正在尝试测试我载入 Acumos 平台的模型,下载 .tar 文件并在 docker 中加载图像后,在 docker 中运行图像失败。报告的原因是...

raise IOError("File %s does not exist." % filename) OSError: File model/tmp79b3brlw\graph.meta does not exist.

这是我从 Windows 机器上板时。但是,当我尝试运行市场上已经存在的 .tar 文件时(sklearn iris 示例),docker 运行良好。我去了 acumos soups tonuts 教程网站,复制并粘贴了 iris 示例的示例代码并运行它,并且能够很好地载入它。但是,当我以模型用户身份运行该载入版本时,它会因上述异常而失败(缺少 graph.meta)。我注意到 graph.meta 的路径中有一个反斜杠和正斜杠,并且想知道 UTF-8 中的 windows 编码和 unicode 中的 linux 编码是否可能是问题的核心?是否可以从 Windows 载入 tensorflow 模型?任何帮助是极大的赞赏!

标签: acumos

解决方案


推荐阅读