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

snapshot...

parent 45cd28ce
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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