From 8385f613d24f7bd7f0cf3a599835098951dfacbd Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 18 Dec 2019 09:45:34 -0800 Subject: [PATCH] updates --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 47defa37..49bd789b 100644 --- a/train.py +++ b/train.py @@ -485,7 +485,7 @@ if __name__ == '__main__': # Mutate np.random.seed(int(time.time())) - s = [.2, .2, .2, .2, .2, .2, .2, .0, .02, .2, .2, .2, .2, .2, .2, .2, .2, .2] # sigmas + s = np.array([1, 1, 1, 1, 1, 1, 1, 0, .1, 1, 1, 1, 1, 1, 1, 1, 1, 1]) * 0.2 # 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