acumos - 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 模型?任何帮助是极大的赞赏!
解决方案
推荐阅读
- java - Spring Boot FlywayException:无法连接到数据库。配置url、用户和密码
- javascript - 如何阻止 js2-mode 过度缩进?
- java - 当我说从 Android Studio 的菜单中添加地点时,它有时会打开地图,有时应用程序会在未打开的情况下关闭
- c++ - 如何在 Arduino 上获取实时 GPS Sim800 模块 RTC 时间
- javascript - Bootstrap sticky highlight the wrong div
- java - 从java中的扫描仪输入打印矩阵正方形
- javascript - 获取具有特定参数的对象的方法
- import - 为什么朱莉娅在他们已经给我输出之后还要花时间导入?
- elasticsearch - 无法使用 OCI Amazon S3 兼容性 API 配置 Elasticsearch 快照存储库
- r - 在 R 中创建一个特定的矩阵