Skip to content

Commit

Permalink
Fix WandBLogger init (#3273)
Browse files Browse the repository at this point in the history
* Fix WandBLogger init

* fix kwargs.pop in WandBLogger

* fix qoutes
  • Loading branch information
zubatyuk committed Aug 3, 2024
1 parent 4c93282 commit 8be85b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ignite/handlers/wandb_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def __init__(self, *args: Any, **kwargs: Any):
"You man install wandb with the command:\n pip install wandb\n"
)
if kwargs.get("init", True):
kwargs.pop("init", None)
wandb.init(*args, **kwargs)

def __getattr__(self, attr: Any) -> Any:
Expand Down

0 comments on commit 8be85b4

Please sign in to comment.