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

snapshot...

parent 078e8aea
No related branches found
No related tags found
No related merge requests found
......@@ -653,15 +653,6 @@ class SRCNN:
return self.do_evaluate(nda_lr, param, ckpt_dir)
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 = resample(x_70, y_70, nda, x_70_2, y_70_2)
nda_lr = np.expand_dims(nda_lr, axis=3)
return nda_lr
def run_evaluate_static(in_file, out_file, ckpt_dir):
nda = np.load(in_file)
......
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