【问题标题】:code 100 while installing tensorflow serving安装 tensorflow 服务时出现代码 100
【发布时间】:2017-09-29 08:48:57
【问题描述】:

我正在尝试通过 docker 映像在 ubuntu 中安装 tensorflow 服务

我已经从“https://github.com/tensorflow/serving”克隆了 tensorflow 服务仓库,并尝试在以下命令的帮助下创建一个 docker 映像:

docker build --pull -t $USER/tensorflow-serving-devel -f tensorflow_serving/tools/docker/Dockerfile.devel .

当我尝试这样做时,我收到以下错误:

Reading package lists...
W: The repository 'http://security.ubuntu.com/ubuntu xenial-security Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu xenial Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu xenial-updates Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu xenial-backports Release' does not have a Release file.
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/universe/source/Sources  Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device) [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/universe/source/Sources  Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device) [IP: 91.189.91.26 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/source/Sources  Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device) [IP: 91.189.91.26 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-amd64/Packages  Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device) [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update && apt-get install -y         build-essential         curl         git         libfreetype6-dev         libpng12-dev         libzmq3-dev         mlocate         pkg-config         python-dev         python-numpy         python-pip         software-properties-common         swig         zip         zlib1g-dev         libcurl3-dev         openjdk-8-jdk        openjdk-8-jre-headless         wget         &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

Ubuntu Xenial 版本是否没有用于 Tensorflow 服务的版本?还是我错过了什么?

请帮忙。

【问题讨论】:

    标签: tensorflow tensorflow-serving


    【解决方案1】:

    阅读此链接。 https://hub.docker.com/r/yesuprelease/tensorflow-serving-devel/ 。 看起来 Ubuntu 16.04 有一个用于 tensorflow 服务的版本。主要是系统内存空间不足导致提取失败。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-03-14
      • 2020-04-18
      • 1970-01-01
      相关资源
      最近更新 更多