fix: need to pass to settings as kwargs

This commit is contained in:
Dominik Moritz Roth 2023-07-27 15:10:52 +02:00
parent 98ce730086
commit f484e9d24c

View File

@ -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)