From c5f2350c903ca0faf3fa28bbfd34f363003e9ed7 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 28 Sep 2022 09:54:23 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/srcnn_l1b_l2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py index 7ce11de3..ffa45fab 100644 --- a/modules/deeplearning/srcnn_l1b_l2.py +++ b/modules/deeplearning/srcnn_l1b_l2.py @@ -221,8 +221,9 @@ class SRCNN: tmp = normalize(tmp, param, mean_std_dct, add_noise=add_noise, noise_scale=noise_scale) data_norm.append(tmp) # -------- - tmp = input_data[:, 0, 3:131, 3:131] - tmp = normalize(tmp, 'temp_11_0um_nom', mean_std_dct) + tmp = input_data[:, 2, 3:131:2, 3:131:2] + tmp = resample_2d_linear(y_64, x_64, tmp, s, t) + #tmp = normalize(tmp, 'temp_11_0um_nom', mean_std_dct) data_norm.append(tmp) # --------- data = np.stack(data_norm, axis=3) -- GitLab