diff --git a/modules/deeplearning/srcnn.py b/modules/deeplearning/srcnn.py index cf02a00032cf429d2298b7117ceb0634f9be3962..35884b5bfbffda5e271e0892ca995a78cbaecde4 100644 --- a/modules/deeplearning/srcnn.py +++ b/modules/deeplearning/srcnn.py @@ -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 = 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() out_sr = nn.run_evaluate(nda, param, ckpt_dir) if out_file is not None: