diff --git a/modules/deeplearning/cloud_opd_srcnn_abi.py b/modules/deeplearning/cloud_opd_srcnn_abi.py index fb5c726ac4165e0a43aad390f17bd42d32dfd554..9001721bc49dbab434b7653f0b9f0da50b1e9e0c 100644 --- a/modules/deeplearning/cloud_opd_srcnn_abi.py +++ b/modules/deeplearning/cloud_opd_srcnn_abi.py @@ -293,7 +293,7 @@ class SRCNN: tmp = np.where(np.isnan(tmp), 0, tmp) data_norm.append(tmp) # --------------------------------------------------- - tmp = input_label[:, label_idx_i, ::2, ::2] + tmp = input_label[:, label_idx_i, :, :] tmp = tmp.copy() tmp = np.where(np.isnan(tmp), 0.0, tmp) tmp = tmp[:, self.slc_y_2, self.slc_x_2] @@ -307,7 +307,7 @@ class SRCNN: # ----------------------------------------------------- # ----------------------------------------------------- - label = input_label[:, label_idx_i, ::2, ::2] + label = input_label[:, label_idx_i, :, :] label = label.copy() label = normalize(label, label_param, mean_std_dct) # label = scale(label, label_param, mean_std_dct)