From f5c5dcda10edb75c8aaf8de317f9d3d9c8e5b7b8 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 12 Apr 2023 13:18:21 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/cloud_opd_srcnn_viirs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/deeplearning/cloud_opd_srcnn_viirs.py b/modules/deeplearning/cloud_opd_srcnn_viirs.py index 4d37bcc2..3800bc47 100644 --- a/modules/deeplearning/cloud_opd_srcnn_viirs.py +++ b/modules/deeplearning/cloud_opd_srcnn_viirs.py @@ -290,8 +290,8 @@ class SRCNN: data_norm = [] for param in data_params_half: - idx = params.index(param) - tmp = input_data[:, idx, :, :] + idx = params_i.index(param) + tmp = input_label[:, idx, :, :] tmp = np.where(np.isnan(tmp), 0, tmp) tmp = upsample(tmp) tmp = normalize(tmp, param, mean_std_dct) -- GitLab