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

minor

parent a4230c21
No related branches found
No related tags found
No related merge requests found
......@@ -673,10 +673,8 @@ def prepare(param_idx=1, filename='/Users/tomrink/data_valid_40.npy'):
def run_evaluate_static(in_file, out_file, param='temp_11_0um_nom', ckpt_dir='/Users/tomrink/tf_model_sres/run-20220805173619/'):
nda = np.load(in_file)
print(nda.shape)
nda = nda[:, data_idx, 2:133:2, 2:133:2]
nda = np.expand_dims(nda, axis=3)
print(nda.shape)
nn = ESPCN()
out_sr = nn.run_evaluate(nda, param, ckpt_dir)
......
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