This commit is contained in:
Glenn Jocher 2020-01-13 20:59:59 -08:00
parent 25ccf54a94
commit c67ba50266
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ def print_mutation(hyp, results, bucket=''):
print('\n%s\n%s\nEvolved fitness: %s\n' % (a, b, c)) print('\n%s\n%s\nEvolved fitness: %s\n' % (a, b, c))
if bucket: 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 with open('evolve.txt', 'a') as f: # append result
f.write(c + b + '\n') f.write(c + b + '\n')