From 8be85b42e7c5990ce1d11ff66467d3b340a5807e Mon Sep 17 00:00:00 2001 From: zubatyuk Date: Sat, 3 Aug 2024 02:01:21 -0400 Subject: [PATCH] Fix WandBLogger init (#3273) * Fix WandBLogger init * fix kwargs.pop in WandBLogger * fix qoutes --- ignite/handlers/wandb_logger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ignite/handlers/wandb_logger.py b/ignite/handlers/wandb_logger.py index 3f8e44840c7..621ff9d3ebd 100644 --- a/ignite/handlers/wandb_logger.py +++ b/ignite/handlers/wandb_logger.py @@ -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: