-
Notifications
You must be signed in to change notification settings - Fork 3.6k
fix(wandb): prevent WandbLogger from dropping values #5931
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
Conversation
|
Hello @borisdayma! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-02-27 01:26:56 UTC |
Codecov Report
@@ Coverage Diff @@
## master #5931 +/- ##
=======================================
- Coverage 93% 91% -2%
=======================================
Files 159 159
Lines 11384 11380 -4
=======================================
- Hits 10628 10358 -270
- Misses 756 1022 +266 |
|
It's now ready for review. It would be great to have it merged before people have a chance to use the "sync_step" functionality (which is in master but not released yet). Let me know if you have any comments. I'll fix the simple merge issues. |
|
@borisdayma mind resolve conflicts? |
Co-authored-by: Carlos Mocholí <[email protected]> Co-authored-by: chaton <[email protected]> Co-authored-by: Adrian Wälchli <[email protected]>
Co-authored-by: Carlos Mocholí <[email protected]> Co-authored-by: chaton <[email protected]> Co-authored-by: Adrian Wälchli <[email protected]>
Co-authored-by: Carlos Mocholí <[email protected]> Co-authored-by: chaton <[email protected]> Co-authored-by: Adrian Wälchli <[email protected]>
|
Hi, Is this note relevant after this PR? |
What does this PR do?
This PR simplifies use of
WandbLogger.PR #5351 introduced a workaround for dealing with non monotonous steps.
The consequence was that some logged values would get dropped. It was suggested to the user to use
sync_step=False, forcing the user to rerun his experiment.The new behavior:
train/stepwandb.log(items, commit=False)to prevent step from auto-increasingThis will prevent any value from being dropped.
Should
stepnot be increasing for any reason, users will be able to select a different x-axis.There are no breaking changes because the current version (with
sync_step) had not been released yet.Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃