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

Allow logger to generate a (run) id #48

Merged
merged 3 commits into from
Apr 5, 2022

Conversation

FynnBe
Copy link
Contributor

@FynnBe FynnBe commented Mar 31, 2022

  • optional id_ argument for trainer (fallback to name)
  • the logger might set id_ if not given (if id_ is None)

allows to let the logger (e.g. WandbLogger) to set a run id to save checkpoints of independent runs in their respective folders, etc...

avoids name clashing of training instance names when using wandb
also allows to resume a wandb run
otherwise we can't resume because we don't know where the checkpoint is
@constantinpape constantinpape merged commit ebfd6ce into constantinpape:main Apr 5, 2022
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

Successfully merging this pull request may close these issues.

2 participants