From a0301640ad4ca966fc83a8d082a1b533f430759c Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 27 Sep 2022 11:45:55 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/srcnn.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/deeplearning/srcnn.py b/modules/deeplearning/srcnn.py index c34595e4..55581937 100644 --- a/modules/deeplearning/srcnn.py +++ b/modules/deeplearning/srcnn.py @@ -642,15 +642,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