From d43daf13af03e6b6bfe0693f1a5e8976ac738ae3 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 26 Dec 2022 17:27:23 -0600 Subject: [PATCH] snapshot... --- modules/deeplearning/srcnn_l1b_l2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py index 9b89fc7e..e8558968 100644 --- a/modules/deeplearning/srcnn_l1b_l2.py +++ b/modules/deeplearning/srcnn_l1b_l2.py @@ -789,6 +789,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir): #data = np.stack([grd_a, grd_c], axis=2) data = np.stack([grd_c], axis=2) data = np.expand_dims(data, axis=0) + data = tf.convert_to_tensor(data, dtype=tf.float32) nn = SRCNN() out_sr = nn.run_evaluate(data, ckpt_dir) -- GitLab