From c082581aed41f0eb110ea56348b2248d792353e7 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 21 Oct 2022 12:27:32 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/srcnn_l1b_l2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py index 94aa3b36..cd22b735 100644 --- a/modules/deeplearning/srcnn_l1b_l2.py +++ b/modules/deeplearning/srcnn_l1b_l2.py @@ -251,8 +251,7 @@ class SRCNN: # label = input_data[:, label_idx, 3:131:2, 3:131:2] label = input_data[:, label_idx, 3:131, 3:131] if label_param != 'cloud_fraction': - #label = normalize(label, label_param, mean_std_dct) - label = np.where(np.isnan(label), 0, label) + label = normalize(label, label_param, mean_std_dct) else: label = np.where(np.isnan(label), 0, label) label = np.expand_dims(label, axis=3) -- GitLab