bugfix for tools/extra/parse_log.sh#1015
Merged
Conversation
Contributor
Author
There was a problem hiding this comment.
Thanks for the heads-up, @kloudkl, just noticed it.
44abaae to
aae8545
Compare
shelhamer
added a commit
that referenced
this pull request
Aug 31, 2014
fix for tools/extra/parse_log.sh
Member
|
Thanks. |
mitmul
pushed a commit
to mitmul/caffe
that referenced
this pull request
Sep 30, 2014
fix for tools/extra/parse_log.sh
RazvanRanca
pushed a commit
to RazvanRanca/caffe
that referenced
this pull request
Nov 4, 2014
fix for tools/extra/parse_log.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
./tools/extra/parse_log.sh was broken by the recent changes to the training output, in particular by the way test accuracy and test loss are now displayed. caffe.log.test had empty columns where accuracy and loss per iteration were supposed to show up.
previously (training output):
I0828 00:56:34.795725 31294 solver.cpp:177] Test score #0: 0.9319
I0828 00:56:34.795765 31294 solver.cpp:177] Test score #1: 0.173513
now (training output):
I0831 01:21:36.325670 8457 solver.cpp:302] Test net output #0: accuracy = 0.9426
I0831 01:21:36.325687 8457 solver.cpp:302] Test net output #1: loss = 0.152957 (* 1 = 0.152957 loss)
culprit in parse_log.sh:
grep 'Test score #0' aux.txt | awk '{print $8}' > aux1.txt
grep 'Test score #1' aux.txt | awk '{print $8}' > aux2.txt
Also, fixed a number of typos and updated the script description.