This commit is contained in:
Glenn Jocher 2019-12-22 17:36:51 -08:00
parent 52573eb0bc
commit d391f6d59b
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ if __name__ == '__main__':
# Mutate # Mutate
np.random.seed(int(time.time())) np.random.seed(int(time.time()))
s = np.random.random() * 0.10 # sigma s = np.random.random() * 0.2 # sigma
g = [1, 1, 1, 1, 1, 1, 1, 0, .1, 1, 1, 1, 1, 1, 1, 1, 1, 1] # gains g = [1, 1, 1, 1, 1, 1, 1, 0, .1, 1, 1, 1, 1, 1, 1, 1, 1, 1] # gains
for i, k in enumerate(hyp.keys()): for i, k in enumerate(hyp.keys()):
x = (np.random.randn() * s * g[i] + 1) ** 2.0 # plt.hist(x.ravel(), 300) x = (np.random.randn() * s * g[i] + 1) ** 2.0 # plt.hist(x.ravel(), 300)