From 35170c77b36ea63a188b69197439c6e8309de142 Mon Sep 17 00:00:00 2001 From: James Betker Date: Fri, 11 Feb 2022 11:43:11 -0700 Subject: [PATCH] fix sweep --- codes/sweep.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codes/sweep.py b/codes/sweep.py index 8ea39723..fed3ecd9 100644 --- a/codes/sweep.py +++ b/codes/sweep.py @@ -55,7 +55,7 @@ if __name__ == '__main__': base_path = nd['path']['log'] for k, p in nd['path'].items(): if isinstance(p, str) and base_path in p: - nd['path'][k] = p.replace(base_path, f'{base_path}\\{mod}') + nd['path'][k] = p.replace(base_path, f'{base_path}/{mod}') all_opts.append(nd) for i in range(1,len(modifications)): @@ -65,4 +65,4 @@ if __name__ == '__main__': break else: rank = 0 - launch_trainer(all_opts[i], base_opt, rank) + launch_trainer(all_opts[rank], base_opt, rank)