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

📝 Document how to log metrics to WandB via LightningCLI #13

Merged
merged 4 commits into from
May 29, 2023
Merged

Conversation

weiji14
Copy link
Member

@weiji14 weiji14 commented May 29, 2023

What I am changing

How I did it

  • Add wandb as a dependency to environment.yml and update conda-lock.yml
  • Document how to log metrics to WandB during model training in the main README.md file
  • Add a shields.io WandB badge Weights and Biases experiments!

How you can test it

  • Run the following command:
python trainer.py fit --trainer.max_epochs=100 \
                      --trainer.logger=WandbLogger \
                      --trainer.logger.entity=devseed \
                      --trainer.logger.project=chabud2023

May require some setup on first run to authenticate to WandB.

Related Issues

References:

A tool for visualizing and tracking your machine learning experiments!
Control the logging to Weights and Biases via LightningCLI, instead of setting a hardcoded default somewhere. Metrics will be uploaded to https://wandb.ai/devseed/chabud2023.
@weiji14 weiji14 added the documentation Improvements or additions to documentation label May 29, 2023
@weiji14 weiji14 self-assigned this May 29, 2023
Some checkpoint files under `chabud2023/**/checkpoints/*.ckpt` and log files under `wandb/` generated from WandB runs to untrack from git.
@weiji14 weiji14 marked this pull request as ready for review May 29, 2023 05:25
@weiji14 weiji14 merged commit 0f9f876 into main May 29, 2023
@weiji14 weiji14 deleted the wandb branch May 29, 2023 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant