diff --git a/utils/utils.py b/utils/utils.py index b08744d8..a19e594e 100755 --- a/utils/utils.py +++ b/utils/utils.py @@ -817,7 +817,7 @@ def print_mutation(hyp, results, bucket=''): print('\n%s\n%s\nEvolved fitness: %s\n' % (a, b, c)) if bucket: - os.system('rm evolve.txt && gsutil cp gs://%s/evolve.txt .' % bucket) # download evolve.txt + os.system('gsutil cp gs://%s/evolve.txt .' % bucket) # download evolve.txt with open('evolve.txt', 'a') as f: # append result f.write(c + b + '\n')