updates
This commit is contained in:
parent
5f9229ecaf
commit
f964f29567
|
@ -783,7 +783,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('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
|
with open('evolve.txt', 'a') as f: # append result
|
||||||
f.write(c + b + '\n')
|
f.write(c + b + '\n')
|
||||||
|
|
Loading…
Reference in New Issue