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

minor

parent 7ee4cc56
No related branches found
No related tags found
No related merge requests found
......@@ -733,7 +733,7 @@ class ESPCN:
def prepare(param_idx=1, filename='/Users/tomrink/data_valid_40.npy'):
nda = np.load(filename)
#nda = nda[:, param_idx, :, :]
nda_lr = nda[:, param_idx, x_134_2, y_134_2]
nda_lr = nda[:, param_idx, 2:133:2, 2:133:2]
# nda_lr = resample(x_70, y_70, nda, x_70_2, y_70_2)
nda_lr = np.expand_dims(nda_lr, axis=3)
return nda_lr
......
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