-
Notifications
You must be signed in to change notification settings - Fork 29
Iteration count and AbstractLogger interface #8
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
Comments
Magic named arguments are a thing loggers do. I think we shoud have an internal I think always increment is a good default,
or if you need to break them up
But if you break them up, and forget to set I don't think directly being able to set the step is useful since why would you set it to any particular number? |
I think there should be option to set step. Increment step is a good default. But user may need to give specific step numbers to get precise line graphs such as logging loss after every 10 epochs. |
I agree that there should be some way to skip multiple steps, as it does fit to a common use-case I have (comparing convergence of different algorithms, with different runtimes). Though, I would keep as default behaviour that of A Potentially we could also have a |
Perhaps Maybe |
When we implement the
AbstractLogger
interface, we need to find a way to pass the step (iteration) count to tensorboard. This can be done nicely by passing it as a key-value pair in the logged message, but I am interested in the case where this is not done.The obvious solution is to store a global iteration count in the logger itself, but how do we update it? Defining a
set_step
would make the code break if one changes Logger. Maybe if one logsstep
this will not be logged and just used to update the internal counter?The text was updated successfully, but these errors were encountered: