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

snapshot...

parent db04b21b
No related branches found
No related tags found
No related merge requests found
...@@ -665,6 +665,10 @@ def run_evaluate_static(in_file, out_file, param='temp_11_0um_nom', ckpt_dir='/U ...@@ -665,6 +665,10 @@ def run_evaluate_static(in_file, out_file, param='temp_11_0um_nom', ckpt_dir='/U
nda = nda[:, data_idx, 2:133:2, 2:133:2] nda = nda[:, data_idx, 2:133:2, 2:133:2]
nda = np.expand_dims(nda, axis=3) nda = np.expand_dims(nda, axis=3)
nda = nda[:, data_idx, 3:131:2, 3:131:2]
nda = resample(x_64, y_64, nda, t, s)
nda = np.expand_dims(nda, axis=3)
nn = SRCNN() nn = SRCNN()
out_sr = nn.run_evaluate(nda, param, ckpt_dir) out_sr = nn.run_evaluate(nda, param, ckpt_dir)
if out_file is not None: if out_file is not None:
......
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