fix: need to pass to settings as kwargs
This commit is contained in:
parent
98ce730086
commit
f484e9d24c
@ -282,7 +282,7 @@ class Slate():
|
|||||||
project=project,
|
project=project,
|
||||||
config=copy.deepcopy(config),
|
config=copy.deepcopy(config),
|
||||||
reinit=self.consume(wandbC, 'reinit', DEFAULT_REINIT),
|
reinit=self.consume(wandbC, 'reinit', DEFAULT_REINIT),
|
||||||
settings=wandb.Settings(self.consume(wandbC, 'settings')),
|
settings=wandb.Settings(**self.consume(wandbC, 'settings', {})),
|
||||||
**wandbC
|
**wandbC
|
||||||
) as run:
|
) as run:
|
||||||
runner = Runner(self, config)
|
runner = Runner(self, config)
|
||||||
@ -306,7 +306,7 @@ class Slate():
|
|||||||
with wandb.init(
|
with wandb.init(
|
||||||
project=project,
|
project=project,
|
||||||
reinit=self.consume(wandbC, 'reinit', DEFAULT_REINIT),
|
reinit=self.consume(wandbC, 'reinit', DEFAULT_REINIT),
|
||||||
settings=wandb.Settings(self.consume(wandbC, 'settings')),
|
settings=wandb.Settings(**self.consume(wandbC, 'settings', {})),
|
||||||
**wandbC
|
**wandbC
|
||||||
) as run:
|
) as run:
|
||||||
config = copy.deepcopy(orig_config)
|
config = copy.deepcopy(orig_config)
|
||||||
|
Loading…
Reference in New Issue
Block a user