From 6df910430028f395583130756fa9c67c26b91f28 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 21 Oct 2022 12:55:29 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/srcnn_l1b_l2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py index cd22b735..899f68dc 100644 --- a/modules/deeplearning/srcnn_l1b_l2.py +++ b/modules/deeplearning/srcnn_l1b_l2.py @@ -231,10 +231,10 @@ class SRCNN: data_norm.append(tmp) # -------- idx = params.index('refl_0_65um_nom') - tmp = input_data[:, idx, 3:131, 3:131] + tmp = input_data[:, idx, 3:131:2, 3:131:2] + # tmp = input_data[:, idx, 3:131, 3:131] tmp = normalize(tmp, param, mean_std_dct, add_noise=add_noise, noise_scale=noise_scale) - # tmp = input_data[:, idx, 3:131:2, 3:131:2] - # tmp = resample_2d_linear(x_64, y_64, tmp, t, s) + tmp = resample_2d_linear(x_64, y_64, tmp, t, s) data_norm.append(tmp) # -------- tmp = input_data[:, label_idx, 3:131:2, 3:131:2] -- GitLab