Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bigsnarfdude/1472e105ff1f03d17f20d392996aef43 to your computer and use it in GitHub Desktop.
Save bigsnarfdude/1472e105ff1f03d17f20d392996aef43 to your computer and use it in GitHub Desktop.
output tensorflow testing labels
⋊> ~/tensorflow on master ◦ bazel build tensorflow/examples/label_image:label_image & \ 22:12:44
bazel-bin/tensorflow/examples/label_image/label_image \
--graph=/tmp/output_graph.pb --labels=/tmp/output_labels.txt \
--output_layer=final_result \
--image=/Users/benchemployee/flower_photos/zero/image_0_4_.jpg
WARNING: /private/var/tmp/_bazel_vincento/7a4c233cb97ceb0b839d7ecf123daf7f/external/protobuf/WORKSPACE:1: Workspace name in /private/var/tmp/_bazel_vincento/7a4c233cb97ceb0b839d7ecf123daf7f/external/protobuf/WORKSPACE (@__main__) does not match the name given in the repository's definition (@protobuf); this will cause a build error in future versions.
WARNING: /private/var/tmp/_bazel_vincento/7a4c233cb97ceb0b839d7ecf123daf7f/external/re2/WORKSPACE:1: Workspace name in /private/var/tmp/_bazel_vincento/7a4c233cb97ceb0b839d7ecf123daf7f/external/re2/WORKSPACE (@__main__) does not match the name given in the repository's definition (@re2); this will cause a build error in future versions.
WARNING: /private/var/tmp/_bazel_vincento/7a4c233cb97ceb0b839d7ecf123daf7f/external/highwayhash/WORKSPACE:1: Workspace name in /private/var/tmp/_bazel_vincento/7a4c233cb97ceb0b839d7ecf123daf7f/external/highwayhash/WORKSPACE (@__main__) does not match the name given in the repository's definition (@highwayhash); this will cause a build error in future versions.
INFO: Found 1 target...
Target //tensorflow/examples/label_image:label_image up-to-date:
bazel-bin/tensorflow/examples/label_image/label_image
INFO: Elapsed time: 0.114s, Critical Path: 0.00s
W tensorflow/core/framework/op_def_util.cc:332] Op BatchNormWithGlobalNormalization is deprecated. It will cease to work in GraphDef version 9. Use tf.nn.batch_normalization().
I tensorflow/examples/label_image/main.cc:204] zero (5): 0.999788
I tensorflow/examples/label_image/main.cc:204] six (1): 9.04188e-05
I tensorflow/examples/label_image/main.cc:204] eight (9): 6.66903e-05
I tensorflow/examples/label_image/main.cc:204] five (6): 2.26056e-05
I tensorflow/examples/label_image/main.cc:204] nine (8): 2.20534e-05
'bazel build tensorflow/examples…' has ended
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment