不要试图用bazel编译tensorflow。我遵循本教程:https://www.tensorflow.org/tutorials/image_recognition#usage_with_the_c_api
我使用(在Debian 9.4上):
bazel build tensorflow/examples/label_image/...
和错误:
bazel build tensorflow/examples/label_image/...
/usr/local/bin/bazel: line 88: /usr/local/lib/bazel/bin/bazel-real: cannot execute binary file: Exec format error
/usr/local/bin/bazel: line 88: /usr/local/lib/bazel/bin/bazel-real: Success
什么都不能建。
谢谢你的帮助。
发布于 2018-04-10 22:43:30
您可能为您的平台安装了错误的bazel。您能按照https://docs.bazel.build/versions/master/install-ubuntu.html上的说明操作,看看是否有帮助吗?
https://stackoverflow.com/questions/49513904
复制相似问题