This commit is contained in:
Glenn Jocher 2019-09-16 19:49:09 +02:00
parent 77dce00fa8
commit efe86b0c4c
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ if __name__ == '__main__':
# Mutate
init_seeds(seed=int(time.time()))
s = [.20, .20, .20, .20, .20, .20, .20, .00, .02, .0, .0, .0, .0, .0, .0, .0, .0] # sigmas
s = [.20, .20, .20, .20, .20, .20, .20, .00, .02, .20, .20, .20, .20, .20, .20, .20, .20] # sigmas
for i, k in enumerate(hyp.keys()):
x = (np.random.randn(1) * s[i] + 1) ** 2.0 # plt.hist(x.ravel(), 300)
hyp[k] *= float(x) # vary by sigmas