From ab2e082c20b3bc5138aff84dbf6f7bb9f9c58d78 Mon Sep 17 00:00:00 2001 From: Michela Paganini Date: Tue, 7 Feb 2017 21:52:12 -0800 Subject: [PATCH] change unphysical intensities threshold to 10^-3 --- models/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/train.py b/models/train.py index 7529a49..511ab7a 100644 --- a/models/train.py +++ b/models/train.py @@ -190,7 +190,7 @@ def get_parser(): X, y = d['image'], d['signal'] # remove unphysical values - X[X < 2.7e-9] = 0 + X[X < 1e-3] = 0 # we don't really need validation data as it's a bit meaningless for GANs, # but since we have an auxiliary task, it can be helpful to debug mode