This commit is contained in:
Glenn Jocher 2019-12-23 12:11:37 -08:00
parent 26ed5e2ddc
commit c459bc6d4a
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ if __name__ == '__main__':
if opt.bucket: if opt.bucket:
os.system('gsutil cp gs://%s/evolve.txt .' % opt.bucket) # download evolve.txt if exists os.system('gsutil cp gs://%s/evolve.txt .' % opt.bucket) # download evolve.txt if exists
for _ in range(100): # generations to evolve for _ in range(1000): # generations to evolve
if os.path.exists('evolve.txt'): # if evolve.txt exists: select best hyps and mutate if os.path.exists('evolve.txt'): # if evolve.txt exists: select best hyps and mutate
# Select parent(s) # Select parent(s)
x = np.loadtxt('evolve.txt', ndmin=2) x = np.loadtxt('evolve.txt', ndmin=2)