projects
/
platform
/
upstream
/
caffe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eb05e1
)
output INFO from caffe cli to stderr by default
author
Evan Shelhamer
<shelhamer@imaginarynumber.net>
Thu, 7 Aug 2014 03:10:27 +0000
(20:10 -0700)
committer
Evan Shelhamer
<shelhamer@imaginarynumber.net>
Thu, 7 Aug 2014 06:44:49 +0000
(23:44 -0700)
tools/caffe.cpp
patch
|
blob
|
history
diff --git
a/tools/caffe.cpp
b/tools/caffe.cpp
index
26db178
..
b201f8e
100644
(file)
--- a/
tools/caffe.cpp
+++ b/
tools/caffe.cpp
@@
-171,6
+171,9
@@
int time() {
RegisterBrewFunction(time);
int main(int argc, char** argv) {
+ // Print output to stderr (while still logging).
+ FLAGS_alsologtostderr = 1;
+
caffe::GlobalInit(&argc, &argv);
CHECK_EQ(argc, 2);
return GetBrewFunction(caffe::string(argv[1]))();