From b1d9dc380d2885c7d88a1d7f12063752f009d736 Mon Sep 17 00:00:00 2001 From: zubatyuk Date: Fri, 2 Aug 2024 13:37:30 -0400 Subject: [PATCH] Fix WandBLogger init --- 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..0b69fc79d41 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') wandb.init(*args, **kwargs) def __getattr__(self, attr: Any) -> Any: