Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use wandb if not specified in the config file (#1253)
#1252, even if the config file does NOT include any wandb field, training with ivadomed can use wandb in case wandb logging was previously done, indicating that deliberate omission of the value to `wandb_api_key` while logging in and the anonymous logging feature introduced in #1193 could sometimes be misleading and undesired. Hence, this PR undoes and simplifies it by bypassing the `wandb.login` call if the key is not defined or is empty. Co-authored-by: Kanishk Kalra <36276423+kanishk16@users.noreply.github.com>
- Loading branch information
1 parent
e9739b7
commit 8b70c30
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters