Is it possible to save the output of a bazel build command that is run in terminal? The command is:
bazel build tensorflow/examples/image_retraining:label_image &&
bazel-bin/tensorflow/examples/image_retraining/label_image
--graph=/tmp/output_graph.pb
--labels=/tmp/output_labels.txt
--output_layer=final_result:0
--image=$HOME/Desktop/Image-3/image1.png
I want to save the output to a .txt file; I cannot simply tag on > out.txt to the end of the line or I am thrown an error. But is there bazel-output command?