首页 文章

在Raspberry Pi错误上安装Tensorflow

提问于
浏览
0

在尝试在我的Raspberry Pi 3B上安装Tensorflow作为g2p-seq2seq程序的一部分时,我遇到了一些问题 .

使用指南here,执行命令时遇到错误:

bazel build -c opt --copt="-mfpu=neon" --local_resources 1024,1.0,1.0 --verbose_failures tensorflow/tools/pip_package:build_pip_package

我收到以下错误:

WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.io/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.
ERROR: /home/pi/makevoicedemo/tf/tensorflow/tensorflow/tensorflow.bzl:571:26: Traceback (most recent call last):
        File "/home/pi/makevoicedemo/tf/tensorflow/tensorflow/tensorflow.bzl", line 565
                rule(attrs = {"srcs": attr.label_list..."), <3 more arguments>)}, <2 more arguments>)
        File "/home/pi/makevoicedemo/tf/tensorflow/tensorflow/tensorflow.bzl", line 571, in rule
                attr.label_list(cfg = "data", allow_files = True)
expected ConfigurationTransition or NoneType for 'cfg' while calling label_list but got string instead: data.
ERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '': Extension file 'tensorflow/tensorflow.bzl' has errors.
INFO: Elapsed time: 0.337s

我知道警告通知不是一个大问题,但我不知道如何解决这两个错误 . 我在Raspberry Pi上找到关于此问题的Tensorflow的文档很难遵循 . 如果有人有任何建议我会很感激 .

1 回答

相关问题