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

snapshot...

parent 3fd4e3a3
No related branches found
No related tags found
No related merge requests found
......@@ -323,6 +323,7 @@ class SRCNN:
tmp = np.where(np.isnan(tmp), 0, tmp)
tmp = tmp[:, slc_y_2, slc_x_2]
tmp = upsample(tmp)
tmp = normalize(tmp, label_param, mean_std_dct)
data_norm.append(tmp)
# ---------
data = np.stack(data_norm, axis=3)
......@@ -331,7 +332,7 @@ class SRCNN:
# -----------------------------------------------------
# -----------------------------------------------------
label = input_label[:, label_idx_i, :, :]
label = label.copy()
label = normalize(label, label_param, mean_std_dct)
label = label[:, y_128, x_128]
label = np.where(np.isnan(label), 0, label)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment