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

snaphot...

parent c1b8585c
Branches
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ class SRCNN:
label = data.copy()
data = data[:, data_idx, 3:131:2, 3:131:2]
data = resample(x_64, y_64, data, t, s)
data = resample(y_64, x_64, data, s, t)
data = np.expand_dims(data, axis=3)
# label = label[:, label_idx, 3:131:2, 3:131:2]
......@@ -657,7 +657,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
nda = np.load(in_file)
nda = nda[:, data_idx, 3:131:2, 3:131:2]
nda = resample(x_64, y_64, nda, t, s)
nda = resample(y_64, x_64, nda, s, t)
nda = np.expand_dims(nda, axis=3)
nn = SRCNN()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment