From dd5618e3f183b26965eeb407f0ae3e065ec5c45a Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 26 Sep 2022 15:27:47 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/srcnn_l1b_l2.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py index 208104ff..a54e5abe 100644 --- a/modules/deeplearning/srcnn_l1b_l2.py +++ b/modules/deeplearning/srcnn_l1b_l2.py @@ -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) -- GitLab