https://gist.github.com/erikbern/78ba519b97b440e10640
この通りに実行して
bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer
の時に発生するエラーですが
これを解消する方法はどうすれば良いのでしょうか
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:11:6: syntax error at '"//tensorflow:tensorflow.bzl"': First argument of
load() is a path, not a label. It should start with a single slash if it is an absolute path..
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:12:6: syntax error at '"//tensorflow:tensorflow.bzl"': First argument of
load() is a path, not a label. It should start with a single slash if it is an absolute path..
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:11:6: file '/tensorflow:tensorflow.bzl.bzl' was not correctly loaded. Make sure the 'load' statement appears in the global scope, in the BUILD file.
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:12:6: file '/tensorflow:tensorflow.bzl.bzl' was not correctly loaded. Make sure the 'load' statement appears in the global scope, in the BUILD file.
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:21:13: name 'tf_copts' is not defined.
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:28:1: name 'tf_gen_op_wrappers_cc' is not defined.
ERROR: /mnt/tmp/tensorflow/tensorflow/cc/BUILD:66:13: name 'tf_copts' is not defined.
ERROR: no such target '//tensorflow/cc:tutorials_example_trainer': target 'tutorials_example_trainer' not declared in package 'tensorflow/cc' defined by /mnt/tmp/tensorflow/tensorflow/cc/BUILD.
INFO: Elapsed time: 0.066s
あなたの回答
tips
プレビュー