From 7dbb3b32bef4a143eb8481d6cbf0905408918e93 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sun, 9 Jul 2023 17:37:05 +0200 Subject: [PATCH] sweep bug fixed --- slate/slate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slate/slate.py b/slate/slate.py index debfc03..02d7190 100644 --- a/slate/slate.py +++ b/slate/slate.py @@ -212,7 +212,7 @@ class Slate(): config = copy.deepcopy(orig_config) if self.consume(config, 'sweep.enable', False): sweepC = self.consume(config, 'sweep') - project = config['wandb']['project'] + project = self.consume(copy.deepcopy(config['wandb']), 'project') sweep_id = wandb.sweep( sweep=sweepC, project=project