minor fix

This commit is contained in:
Dominik Moritz Roth 2023-07-27 12:40:36 +02:00
parent c29a109175
commit 127daa30c5

View File

@ -245,7 +245,7 @@ class Slate():
if self.consume(config, 'sweep.enable', False): if self.consume(config, 'sweep.enable', False):
sweepC = self.consume(config, 'sweep') sweepC = self.consume(config, 'sweep')
wandbC = copy.deepcopy(config['wandb']) wandbC = copy.deepcopy(config['wandb'])
project = self.consume(wandbC, 'project') project = config.get('project')
self.sweep_id = wandb.sweep( self.sweep_id = wandb.sweep(
sweep=sweepC, sweep=sweepC,