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

Add sacred logger #438

Closed
expectopatronum opened this issue Oct 29, 2019 · 14 comments
Closed

Add sacred logger #438

expectopatronum opened this issue Oct 29, 2019 · 14 comments
Labels
feature Is an improvement or enhancement help wanted Open to be worked on logger Related to the Loggers

Comments

@expectopatronum
Copy link
Contributor

Is your feature request related to a problem? Please describe.
For most of our projects we are using sacred for logging the parameters, metrics, ... to a MongoDB database. For the last project I used pytorch-lightning with the default logger, but I'd prefer sacred.

Describe the solution you'd like
I'd like a SacredLogger for logging with sacred similar to MLFlowLogger for mlflow.

At some point I'll implement this myself but I thought maybe someone else is interested as well.

@expectopatronum expectopatronum added feature Is an improvement or enhancement help wanted Open to be worked on labels Oct 29, 2019
@neggert
Copy link
Contributor

neggert commented Oct 31, 2019

Could you tackle this yourself? It should be pretty straightforward. You can use the other loggers in https://github.com/williamFalcon/pytorch-lightning/tree/master/pytorch_lightning/logging as examples.

@expectopatronum
Copy link
Contributor Author

Yes, I can and I will, just like I said in the description of my issue. But since this is an open source project I thought maybe someone else might be interested as well, or already attempted it or might be interested in having it implemented. If no one else is interested (because no one is using sacred except me) I don't need to take the effort and create a pull request (which is a lot more work than just implementing a custom logger for myself).
I am sorry if this is not how issues should be used in this project but I saw this and thought this should be fine.

@neggert
Copy link
Contributor

neggert commented Oct 31, 2019

Sorry, I was unclear. Thanks for opening an issue. That's the correct way to start a discussion on a new feature. I'm not aware of anyone else working on this, but I believe Sacred is fairly widely used, so we'd encourage you to submit a PR adding this functionality.

Feel free to follow up here if you run into any questions or issues while implementing it.

@williamFalcon
Copy link
Contributor

@expectopatronum still interested in submitting a PR for this? :)

@expectopatronum
Copy link
Contributor Author

Yes, I am working on it now! :)

@expectopatronum expectopatronum mentioned this issue Jan 2, 2020
4 tasks
@williamFalcon
Copy link
Contributor

@expectopatronum want to rebase master so we can merge? great job!

@Borda
Copy link
Member

Borda commented Jan 23, 2020

there is still an issue with testing, tests shall not be tolerant of the missing package...

@williamFalcon
Copy link
Contributor

what do you mean?

@Borda
Copy link
Member

Borda commented Jan 23, 2020

what do you mean?

is the package is not loaded then it is not tested.. #656 (comment)

@Borda Borda added the won't fix This will not be worked on label Mar 11, 2020
@stale stale bot removed the won't fix This will not be worked on label Mar 11, 2020
@Borda
Copy link
Member

Borda commented Mar 26, 2020

if there is an interest in this logger we may add it to upcoming lightning-bolts 🤖

@Borda Borda closed this as completed Mar 26, 2020
@williamFalcon
Copy link
Contributor

@Borda we haven't decided on whether to move loggers or not.

@Borda
Copy link
Member

Borda commented Mar 26, 2020

sure, but with @expectopatronum not having time to add it #656 (comment), there is noone to do it now... or do you prefer to keep this open?

@Borda Borda added the logger Related to the Loggers label Aug 4, 2020
@diff7
Copy link

diff7 commented Sep 21, 2020

Hi, any plans to add sacred logger?

@Borda
Copy link
Member

Borda commented Sep 21, 2020

@diff7 mind open an issue for it in Bolts as suggested in #438 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Is an improvement or enhancement help wanted Open to be worked on logger Related to the Loggers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants