Docker错误从源代码为树莓派构建Tensorflow

时间:2020-11-05 20:39:15

标签: python docker tensorflow raspberry-pi

我正在尝试按照https://www.tensorflow.org/install/source_rpi的建议构建软件包,但每次都遇到相同的错误(请参见下面的输出)

不是shell脚本专家,但是我看不到在build_raspberry_pi.sh中实际发生错误的地方。添加回声不会显示任何内容。

有人有什么提示吗?在pi上运行tensorflow的其他最近方法?

预先感谢, 曼诺

Manno:tensorflow manno$ tensorflow/tools/ci_build/ci_build.sh PI-PYTHON3 tensorflow/tools/ci_build/build_raspberry_pi.sh
WORKSPACE: /Users/manno/OneDrive/OneDrive - xxxxxxxxx/_machine learning/TensorFlow/tensorflow
CI_DOCKER_BUILD_EXTRA_PARAMS: 
CI_DOCKER_EXTRA_PARAMS: 
COMMAND: tensorflow/tools/ci_build/build_raspberry_pi.sh
CI_COMMAND_PREFIX: ./tensorflow/tools/ci_build/builds/with_the_same_user ./tensorflow/tools/ci_build/builds/configured pi-python3
CONTAINER_TYPE: pi-python3
BUILD_TAG: tf_ci
  (docker container name will be tf_ci.pi-python3)

Building container (tf_ci.pi-python3)...
[+] Building 1193.2s (18/18) FINISHED                                                                                                                  
 => [internal] load build definition from Dockerfile.pi-python3                                                                                   0.0s
 => => transferring dockerfile: 1.00kB                                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/ubuntu:16.04                                                                                   2.8s
 => [1/13] FROM docker.io/library/ubuntu:16.04@sha256:bb69f1a2b6c840b01eeffef07386e95a74ecac8bfa52d35c32fb526c85e00678                           23.7s
 => => resolve docker.io/library/ubuntu:16.04@sha256:bb69f1a2b6c840b01eeffef07386e95a74ecac8bfa52d35c32fb526c85e00678                             0.0s
 => => sha256:d6e6af23a0f38c4a6511147d2a9dc06a07a7afa0669000cb62720c7eafe031ae 528B / 528B                                                        0.8s
 => => sha256:bb69f1a2b6c840b01eeffef07386e95a74ecac8bfa52d35c32fb526c85e00678 1.42kB / 1.42kB                                                    0.0s
 => => sha256:92b36e8a01defa1ed16c40d581f3b0482d4eaedbc63bfe074a7dd3bf100ba020 1.15kB / 1.15kB                                                    0.0s
 => => sha256:dfeff22e96ae3ad07737cd170c0af288948ce426dafdccad5640f991087adde4 3.40kB / 3.40kB                                                    0.0s
 => => sha256:2c11b7cecaa5d3e2a57e290921ababbfb8572b549015168d4cbd91c340d2c566 45.83MB / 45.83MB                                                 20.2s
 => => sha256:04637fa562525a9366f00e8f4b08d04a347bded1ee513738451ef9d42b4dfc4e 849B / 849B                                                        0.6s
 => => sha256:b4a424de92ad71639c5cabadcdab0493e4067eb2f9cf109ffef40db178349238 168B / 168B                                                        1.1s
 => => extracting sha256:2c11b7cecaa5d3e2a57e290921ababbfb8572b549015168d4cbd91c340d2c566                                                         2.7s
 => => extracting sha256:04637fa562525a9366f00e8f4b08d04a347bded1ee513738451ef9d42b4dfc4e                                                         0.0s
 => => extracting sha256:d6e6af23a0f38c4a6511147d2a9dc06a07a7afa0669000cb62720c7eafe031ae                                                         0.0s
 => => extracting sha256:b4a424de92ad71639c5cabadcdab0493e4067eb2f9cf109ffef40db178349238                                                         0.0s
 => [internal] load build context                                                                                                                 0.0s
 => => transferring context: 51.14kB                                                                                                              0.0s
 => [2/13] COPY install/*.sh /install/                                                                                                            0.5s
 => [3/13] RUN /install/install_bootstrap_deb_packages.sh                                                                                        34.5s
 => [4/13] RUN add-apt-repository -y ppa:openjdk-r/ppa &&     add-apt-repository -y ppa:george-edison55/cmake-3.x                                 4.2s
 => [5/13] RUN /install/install_deb_packages.sh                                                                                                 205.6s 
 => [6/13] RUN /install/install_pip_packages.sh                                                                                                 289.5s 
 => [7/13] RUN /install/install_bazel.sh                                                                                                        386.5s 
 => [8/13] RUN /install/install_proto3.sh                                                                                                         9.5s 
 => [9/13] RUN /install/install_buildifier.sh                                                                                                    25.0s 
 => [10/13] RUN /install/install_auditwheel.sh                                                                                                   13.5s 
 => [11/13] RUN /install/install_golang.sh                                                                                                       65.4s 
 => [12/13] RUN /install/install_pi_python3_toolchain.sh                                                                                        110.2s 
 => [13/13] COPY install/.bazelrc /etc/bazel.bazelrc                                                                                              0.0s 
 => exporting to image                                                                                                                           22.3s
 => => exporting layers                                                                                                                          22.2s
 => => writing image sha256:a99ab8e1d819052e782c74579e123fc01fb11a782648d304e3093a8bdd68e91e                                                      0.0s
 => => naming to docker.io/library/tf_ci.pi-python3                                                                                               0.0s
Running 'tensorflow/tools/ci_build/build_raspberry_pi.sh' inside tf_ci.pi-python3...
docker: invalid reference format.
See 'docker run --help'.

0 个答案:

没有答案