From c4301c2404d5c76fcee88bb50e0396373d881700 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 18 Feb 2022 19:14:17 +0100 Subject: [PATCH] Fix `--evolve --bucket gs://...` --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 03706eeb1e2a..2eec9304abf3 100644 --- a/train.py +++ b/train.py @@ -582,7 +582,7 @@ def main(opt, callbacks=Callbacks()): # ei = [isinstance(x, (int, float)) for x in hyp.values()] # evolvable indices evolve_yaml, evolve_csv = save_dir / 'hyp_evolve.yaml', save_dir / 'evolve.csv' if opt.bucket: - os.system(f'gsutil cp gs://{opt.bucket}/evolve.csv {save_dir}') # download evolve.csv if exists + os.system(f'gsutil cp gs://{opt.bucket}/evolve.csv {evolve_csv}') # download evolve.csv if exists for _ in range(opt.evolve): # generations to evolve if evolve_csv.exists(): # if evolve.csv exists: select best hyps and mutate