updates
This commit is contained in:
parent
25ccf54a94
commit
c67ba50266
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue