This commit is contained in:
glenn-jocher 2019-07-01 00:41:13 +02:00
parent 32f5ea955b
commit 63036deeb7
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ if __name__ == '__main__':
init_seeds(seed=int(time.time())) init_seeds(seed=int(time.time()))
s = [.2, .2, .2, .2, .2, .2, .2, .2, .2 * 0, .2 * 0, .05 * 0, .2 * 0] # fractional sigmas s = [.2, .2, .2, .2, .2, .2, .2, .2, .2 * 0, .2 * 0, .05 * 0, .2 * 0] # fractional sigmas
for i, k in enumerate(hyp.keys()): for i, k in enumerate(hyp.keys()):
x = (np.random.randn(1) * s[i] + 1) ** 3.0 # plt.hist(x.ravel(), 300) x = (np.random.randn(1) * s[i] + 1) ** 2.0 # plt.hist(x.ravel(), 300)
hyp[k] *= float(x) # vary by about 30% 1sigma hyp[k] *= float(x) # vary by about 30% 1sigma
# Clip to limits # Clip to limits