-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Support multiple loggers at once #825
Comments
A good way to do this might be to create a |
The |
Yeah, that sounds good, I'll do this for Loggers first and then we can think about following up for callbacks |
why not just take in the list of loggers # default logger
Trainer(logger=True)
# no logger
Trainer(logger=False)
# single logger
Trainer(logger=Logger)
# n loggers
Trainer(logger=[a, b, c]) And anytime we call the logger right now internally, we replace with a call to all of them. |
The value of a |
as I mentioned, we would keep the API as Will gave example but under the hood, we would use a class iteration loggers co you do not repeat looping over all logger or checking if there is just one or more... |
Yeah, i think under the hood a loggerlist or some class to encapsulate makes sense as @ethanwharris mentioned! To the user though they should just intuit that they can pass in a list of loggers. @srush thoughts? |
Yup, the user API of torch-lightning seems to be that passing/returning lists just works, so I like that style. |
Closed by #903 |
Can we multiple loggers to use for different metrics?
|
Did you get the answer of how to do it? I am not able to find the answer |
No... I didn't, and ended up giving up on it. |
🚀 Feature
Users might want to use more than 1 loggers at once
The text was updated successfully, but these errors were encountered: