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

snapshot...

parent ef144182
No related branches found
No related tags found
No related merge requests found
......@@ -289,14 +289,6 @@ class SRCNN:
# else:
# tmp = np.where(np.isnan(tmp), 0, tmp)
# data_norm.append(tmp)
# for param in data_params_full:
# idx = params_i.index(param)
# tmp = input_label[:, idx, :, :]
# tmp = np.where(np.isnan(tmp), 0, tmp)
#
# tmp = normalize(tmp, param, mean_std_dct)
# data_norm.append(tmp[:, self.slc_y, self.slc_x])
# ---------------------------------------------------
tmp = input_label[:, label_idx_i, ::2, ::2]
tmp = tmp.copy()
......@@ -308,6 +300,7 @@ class SRCNN:
# ---------
data = np.stack(data_norm, axis=3)
data = data.astype(np.float32)
print(data.shape)
# -----------------------------------------------------
# -----------------------------------------------------
......
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