diff --git a/modules/deeplearning/cloud_opd_srcnn_viirs.py b/modules/deeplearning/cloud_opd_srcnn_viirs.py index 4d37bcc244b9937d6f95bf82669cf093ca2cb92d..3800bc479f9d5c65198cc60e593667b8ca674169 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)