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

Wandb 'steps' #2

Open
sasank-desaraju opened this issue Sep 26, 2022 · 0 comments
Open

Wandb 'steps' #2

sasank-desaraju opened this issue Sep 26, 2022 · 0 comments

Comments

@sasank-desaraju
Copy link
Contributor

Adjust Wandb logging frequency so that it outputs stats in the frequency and organization we want. For example, I believe Wandb currently every batch without doing a good job of separating epochs. We definitely want to calculate validation loss over epochs, not batches. For the validation images, we want them separated by epoch even if we output every image in an epoch.

The solution to this likely includes using the "commit" bool in log(). I.e. wandb_run.log(data={'validation/loss': val_loss}, commit=False). I think this can allow us to control the "step" at which data is pushed. Additionally, perhaps we can output to different keys such as wandb_run.log({'validation/epoch_} + pl_module.current_epoch() + '/loss': val_loss).

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

No branches or pull requests

1 participant