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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(wandb): use same logger on multiple training loops #2055

Merged
merged 2 commits into from
Jun 2, 2020

Conversation

borisdayma
Copy link
Contributor

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?
  • If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?

Fixes #2015
New training loops reset step to 0 which would previously try to overwrite logs (not allowed by wandb).
Logs are now incremental and the step is logged as a separate metric, without modifying metrics dictionary (which previously affected other loggers).

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 馃檭

New training loops reset step to 0 which would previously try to overwrite logs

fix Lightning-AI#2015
@mergify mergify bot requested a review from a team June 2, 2020 18:49
@codecov
Copy link

codecov bot commented Jun 2, 2020

Codecov Report

Merging #2055 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #2055   +/-   ##
======================================
  Coverage      86%     86%           
======================================
  Files          74      74           
  Lines        4710    4710           
======================================
  Hits         4066    4066           
  Misses        644     644           

@Borda Borda added the bug Something isn't working label Jun 2, 2020
@Borda Borda added this to the 0.8.0 milestone Jun 2, 2020
@mergify mergify bot requested a review from a team June 2, 2020 20:07
@williamFalcon williamFalcon merged commit 00f1ac1 into Lightning-AI:master Jun 2, 2020
justusschock pushed a commit that referenced this pull request Jun 29, 2020
* fix(wandb): use same logger on multiple training loops

New training loops reset step to 0 which would previously try to overwrite logs

fix #2015

* docs(changelog.md): add reference to PR 2055
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WandbLogger warning not logging logs.
3 participants