Skip to content

Commit

Permalink
fix kwargs.pop in WandBLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
zubatyuk authored Aug 3, 2024
1 parent b1d9dc3 commit a175f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ignite/handlers/wandb_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +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')
kwargs.pop('init', None)
wandb.init(*args, **kwargs)

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

0 comments on commit a175f47

Please # to comment.