You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed to bazel build when executing label_image example #381
Activity
vrv commentedon Dec 1, 2015
Try cd to the root tensorflow directory and then do
bazel build tensorflow/examples/label_image/...?trungdn commentedon Dec 1, 2015
I tried but it still the same error. I'm doing this example. Thank you so much!
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/label_image/README.md
vrv commentedon Dec 1, 2015
We need to see your exact command lines and the directory you're trying to run from, etc.
trungdn commentedon Dec 1, 2015
I'm running on tensorflow directory. Already download and extracted inception5h.zip on /label_image/data
root@ee32ec72b8cb:/tensorflow# bazel build tensorflow/tensorflow/examples/label_image/...
INFO: Reading 'startup' options from /root/.bazelrc: --batch
ERROR: no targets found beneath 'tensorflow/tensorflow/examples/label_image'.
vrv commentedon Dec 1, 2015
try
bazel build tensorflow/examples/label_image/.... you have an extra 'tensorflow' in your version.trungdn commentedon Dec 1, 2015
Right now it shows the ERRORs as I mentioned from the beginning. BUILD error. The BUILD is default file on lable_image directory
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:1:3: invalid character: '!'.
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:8:118: invalid character: '!'.
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:8:243: invalid character: '!'.
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:8:256: invalid character: '!'.
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:8:381: invalid character: '!'.
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:8:394: invalid character: '!'.
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:8:516: invalid character: '!'.
...
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:51:91: invalid base-10 integer constant: 10737418240.
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:51:1002: invalid character: '!'.
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:51:1118: invalid character: '&'.
...
ERROR: /tensorflow/tensorflow/examples/label_image/BUILD:120:13181: contains syntax error(s).
ERROR: no such package 'tensorflow/examples/label_image': Package 'tensorflow/examples/label_image' contains errors.
vrv commentedon Dec 1, 2015
It looks like your BUILD file is corrupted -- those characters are not in the BUILD file that I can see.
try
cat tensorflow/examples/label_image/BUILDto make sure it matches https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/label_image/BUILDtrungdn commentedon Dec 1, 2015
No it's not matching.
I'm using this function to download this file. Do u think it might be the problems. And how I can download this file on my directory. Thanks
wget https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/label_image/BUILD
vrv commentedon Dec 1, 2015
You need to use git to clone the project, and then the files will be available as expected. The following link might be helpful: https://www.udacity.com/course/how-to-use-git-and-github--ud775 -- Let us know if we can be of any further help.
Merge pull request tensorflow#381 from ROCmSoftwarePlatform/develop-u…
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies