Save results to a file

1,477 views
Skip to first unread message

Sen Jia

unread,
Nov 26, 2014, 8:56:55 AM11/26/14
to caffe...@googlegroups.com
HI, I guess there might be a solved topic about this issue. I was wondering if I can save the output on the screen to a file, so I can check the test accuracy vs the number of iterations. I tried the command "tee" but it didn't work. Is there an argument can do this?

Many thanks
Sen

Evan Shelhamer

unread,
Nov 26, 2014, 4:30:37 PM11/26/14
to Sen Jia, caffe...@googlegroups.com
Caffe logs to stderr via glog, so this output can be redirected for tee in the standard way:

caffe train ... 2>&1 | tee caffe-train.log

It's just the usual stderr / stdout swap.

Evan Shelhamer

--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/cef20dba-b079-4ad0-8a9c-8b05859ed459%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sen Jia

unread,
Nov 27, 2014, 9:20:44 AM11/27/14
to caffe...@googlegroups.com, jason....@gmail.com, shel...@eecs.berkeley.edu
That works.

Cheers
Sen

在 2014年11月26日星期三UTC下午9时30分37秒,Evan Shelhamer写道:
Reply all
Reply to author
Forward
0 new messages