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 wandb to rsmexplain and rsmxval #627

Merged
merged 11 commits into from
Jul 31, 2023
Merged

Conversation

tamarl08
Copy link
Contributor

@tamarl08 tamarl08 commented Jul 28, 2023

Added the option to pass a wandb_run object to all modules - that allows rsmxval to use a single object and also will allow passing it from external runs which can be useful.

Note that at this point rsmxval do not log the folds report and intermediate files, it will require additional handling.
rsmexplain logs only the final report, we can discuss which additional output/input files could be helpful to log.

See run examples for xval and explain

@tamarl08 tamarl08 linked an issue Jul 28, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (83b76fa) 95.87% compared to head (143366a) 95.88%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #627   +/-   ##
=======================================
  Coverage   95.87%   95.88%           
=======================================
  Files          60       60           
  Lines        9357     9378   +21     
=======================================
+ Hits         8971     8992   +21     
  Misses        386      386           
Files Changed Coverage Δ
rsmtool/utils/constants.py 100.00% <ø> (ø)
rsmtool/reporter.py 92.62% <100.00%> (+0.03%) ⬆️
rsmtool/rsmcompare.py 95.00% <100.00%> (+0.06%) ⬆️
rsmtool/rsmeval.py 97.89% <100.00%> (+0.04%) ⬆️
rsmtool/rsmexplain.py 92.19% <100.00%> (+0.15%) ⬆️
rsmtool/rsmpredict.py 99.17% <100.00%> (+0.01%) ⬆️
rsmtool/rsmsummarize.py 97.84% <100.00%> (+0.04%) ⬆️
rsmtool/rsmtool.py 99.15% <100.00%> (+0.01%) ⬆️
rsmtool/rsmxval.py 98.18% <100.00%> (+0.08%) ⬆️
rsmtool/utils/wandb.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tamarl08 tamarl08 requested review from desilinguist, damien2012eng and mulhod and removed request for desilinguist and damien2012eng July 29, 2023 00:12
@tamarl08 tamarl08 changed the title Draft: Add wandb to rsmexplain and rsmxval Add wandb to rsmexplain and rsmxval Jul 29, 2023
Copy link
Member

@desilinguist desilinguist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried out the rsmexplain and rsmxval tutorial and they both work great. The rsmxval one was a bit on the slow side but I figured that was because there was a lot to log.

It would be nice to log more intermediate files from both tools but that can be an additional issue.

@desilinguist desilinguist requested a review from mulhod July 31, 2023 16:31
@desilinguist desilinguist merged commit 09cbed2 into main Jul 31, 2023
9 checks passed
@delete-merged-branch delete-merged-branch bot deleted the 597-wandb-explain-xval branch July 31, 2023 17:33
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.

Add integration with W&B
3 participants