From f964f2956743e08aae141a0301ad040f3d1f068b Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 29 Dec 2019 10:02:41 -0800 Subject: [PATCH] updates --- utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils.py b/utils/utils.py index 6f3dfabf..5be021b9 100755 --- a/utils/utils.py +++ b/utils/utils.py @@ -783,7 +783,7 @@ def print_mutation(hyp, results, bucket=''): print('\n%s\n%s\nEvolved fitness: %s\n' % (a, b, c)) if bucket: - os.system('gsutil cp gs://%s/evolve.txt .' % bucket) # download evolve.txt + os.system('rm evolve.txt && gsutil cp gs://%s/evolve.txt .' % bucket) # download evolve.txt with open('evolve.txt', 'a') as f: # append result f.write(c + b + '\n')