Skip to content
Snippets Groups Projects
Commit c082581a authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 86804955
Branches
No related tags found
No related merge requests found
...@@ -251,8 +251,7 @@ class SRCNN: ...@@ -251,8 +251,7 @@ class SRCNN:
# label = input_data[:, label_idx, 3:131:2, 3:131:2] # label = input_data[:, label_idx, 3:131:2, 3:131:2]
label = input_data[:, label_idx, 3:131, 3:131] label = input_data[:, label_idx, 3:131, 3:131]
if label_param != 'cloud_fraction': if label_param != 'cloud_fraction':
#label = normalize(label, label_param, mean_std_dct) label = normalize(label, label_param, mean_std_dct)
label = np.where(np.isnan(label), 0, label)
else: else:
label = np.where(np.isnan(label), 0, label) label = np.where(np.isnan(label), 0, label)
label = np.expand_dims(label, axis=3) label = np.expand_dims(label, axis=3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment