I am using a framework for convolutional neural networks called caffe and its output in console is provided by Google-glog. However when I try to save the output to a file using the following commands:
sh train_imagenet.sh | tee output.txt
or
sh train_imagenet.sh > output.txt
And I get a void file and the output does not save to the file. So I want to know how to retrieve this output. Thanks in advance.
Use FLAGS_alsologtostderr = 1;
in main()
.
For more infomation, check Setting Flags
section in glog's doc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With