Skip to content
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

Missing entries in Logger.add #105

Open
pratikac opened this issue Apr 18, 2016 · 0 comments
Open

Missing entries in Logger.add #105

pratikac opened this issue Apr 18, 2016 · 0 comments

Comments

@pratikac
Copy link

Is it possible for Logger:add(s) to add only a subset of the variables? For instance, I would like to call Logger:setNames({'loss', 'epoch', 'batch'}) and then do Logger:add({loss=0.5, batch=10}). The unknown field epoch should be set to a default value, say zero.

I think the current version of Logger is designed to only take as argument an ordered array (?). In the above example, if I do Logger:add({0.5, 10}), it will simply set the epoch to 10 and leave batch blank. This behavior is quite a pain while logging lots of variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant