This commit is contained in:
Glenn Jocher 2019-12-29 10:02:41 -08:00
parent 5f9229ecaf
commit f964f29567
1 changed files with 1 additions and 1 deletions

View File

@ -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')