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:
31a18c2
)
Fix log parsing #5422
author
Cyprien Noel
<cyprien.noel@gmail.com>
Wed, 12 Apr 2017 08:42:59 +0000
(
01:42
-0700)
committer
Cyprien Noel
<cyprien.noel@gmail.com>
Wed, 12 Apr 2017 08:42:59 +0000
(
01:42
-0700)
tools/extra/parse_log.sh
patch
|
blob
|
history
diff --git
a/tools/extra/parse_log.sh
b/tools/extra/parse_log.sh
index
9892c89
..
122eb9e
100755
(executable)
--- a/
tools/extra/parse_log.sh
+++ b/
tools/extra/parse_log.sh
@@
-39,7
+39,7
@@
rm aux.txt aux0.txt aux1.txt aux2.txt aux3.txt aux4.txt
grep '] Solving ' $1 > aux.txt
grep ', loss = ' $1 >> aux.txt
grep 'Iteration ' aux.txt | sed 's/.*Iteration \([[:digit:]]*\).*/\1/g' > aux0.txt
-grep ', loss = ' $1 | awk
'{print $9
}' > aux1.txt
+grep ', loss = ' $1 | awk
-F = '{print $2
}' > aux1.txt
grep ', lr = ' $1 | awk '{print $9}' > aux2.txt
# Extracting elapsed seconds