-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python log parser improvements #2350
Conversation
Over version introduced in BVLC#1384 Highlights: * Interface change: column order is now determined by using a list of `OrderedDict` objects instead of `dict` objects, which obviates the need to pass around a tuple with the column orders. * The outputs are now named according to their names in the network protobuffer; e.g., if your top is named `loss`, then the corresponding column header will also be `loss`; we no longer rename it to, e.g., `TrainingLoss` or `TestLoss`. * Fixed the bug/feature of the first version where the initial learning rate was always NaN. * Add optional parameter to specify output table delimiter. It's still a comma by default. You can use Matlab code from [this gist](https://gist.github.com/drdan14/d8b45999c4a1cbf7ad85) to verify that your results are the same before and after the changes introduced in this pull request. That code assumes that your `top` names are `accuracy` and `loss`, but you can modify the code if that's not true.
f74c649
to
23d28fd
Compare
Sounds improved all around. Thanks! |
Python log parser improvements
I am using the log parser with this input:
But this produces the following strange last values of 1.0 for the learning rates:
Test
|
@drdan14 I am getting the following error when parsing a log without any test phase:
Training logs with a test phase are parsed ok. |
@npit Please post a link to the training log that generates the error. And what is |
@drdan14 |
Thanks @dgolden1 ! |
Improvements to python log parser introduced in #1384
Master-based PR version of #1547
Highlights:
OrderedDict
objects instead ofdict
objects, which obviates the need to pass around a tuple with the column orders.loss
, then the corresponding column header will also beloss
; we no longer rename it to, e.g.,TrainingLoss
orTestLoss
.You can use Matlab code from this gist to verify that your results are the same before and after the changes introduced in this pull request. That code assumes that your
top
names areaccuracy
andloss
, but you can modify the code if that's not true.