From f484e9d24cba28c9d24c7f6b4ca6f0a67ba2a01a Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Thu, 27 Jul 2023 15:10:52 +0200 Subject: [PATCH] fix: need to pass to settings as kwargs --- slate/slate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slate/slate.py b/slate/slate.py index b52af3d..938f030 100644 --- a/slate/slate.py +++ b/slate/slate.py @@ -282,7 +282,7 @@ class Slate(): project=project, config=copy.deepcopy(config), reinit=self.consume(wandbC, 'reinit', DEFAULT_REINIT), - settings=wandb.Settings(self.consume(wandbC, 'settings')), + settings=wandb.Settings(**self.consume(wandbC, 'settings', {})), **wandbC ) as run: runner = Runner(self, config) @@ -306,7 +306,7 @@ class Slate(): with wandb.init( project=project, reinit=self.consume(wandbC, 'reinit', DEFAULT_REINIT), - settings=wandb.Settings(self.consume(wandbC, 'settings')), + settings=wandb.Settings(**self.consume(wandbC, 'settings', {})), **wandbC ) as run: config = copy.deepcopy(orig_config)