updates
This commit is contained in:
parent
33601ca758
commit
b53d6d6ecf
2
train.py
2
train.py
|
@ -379,7 +379,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
# Mutate
|
# Mutate
|
||||||
init_seeds(seed=int(time.time()))
|
init_seeds(seed=int(time.time()))
|
||||||
s = [.15, .15, .15, .15, .15, .15, .15, .15, .15, .00, .05, .20, .20, .20, .20, .20, .20, .20] # sigmas
|
s = [.15, .15, .15, .15, .15, .15, .15, .15, .15, .00, .02, .20, .20, .20, .20, .20, .20, .20] # sigmas
|
||||||
for i, k in enumerate(hyp.keys()):
|
for i, k in enumerate(hyp.keys()):
|
||||||
x = (np.random.randn(1) * s[i] + 1) ** 2.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 sigmas
|
hyp[k] *= float(x) # vary by sigmas
|
||||||
|
|
Loading…
Reference in New Issue