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

Couldn't log with wandb #607

Open
amirshamaei opened this issue Oct 6, 2023 · 1 comment
Open

Couldn't log with wandb #607

amirshamaei opened this issue Oct 6, 2023 · 1 comment

Comments

@amirshamaei
Copy link

I successfully adopted the template. It runs smoothly. However, I cannot log in using WandB. I am new to WandB, but I set it up for my other project successfully (with lightning). The setting of yaml file is as follows:

wandb:
  _target_: lightning.pytorch.loggers.wandb.WandbLogger
#  name: "mri_recon" # name of the run (normally generated by wandb)
  save_dir: "${paths.output_dir}"
  offline: False
  id: null # pass correct id to resume experiment!
  anonymous: null # enable anonymous logging
  project: "mri_recon"
  log_model: False # upload lightning ckpts
  prefix: "" # a string to put at the beginning of metric keys
  # entity: "" # set to name of your wandb team
  group: ""
  tags: []
  job_type: ""

Do I need to put API key somewhere? what is the proper routine for this?

@amirshamaei
Copy link
Author

I think the problem was related to example.yaml file since it didn't set default values for loggers. by adding - override /logger: wandb it logged successfully. I proposed this change.

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