尝试用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
没有任何东西可以建造。
感谢您的帮助。
答案 0 :(得分:1)
您可能为您的平台安装了错误的bazel。您是否可以按照https://docs.bazel.build/versions/master/install-ubuntu.html上的说明查看是否有帮助?