diff --git a/ignite/handlers/wandb_logger.py b/ignite/handlers/wandb_logger.py index 0b69fc79d41..c9c05f6e0d0 100644 --- a/ignite/handlers/wandb_logger.py +++ b/ignite/handlers/wandb_logger.py @@ -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: