From 80e3c0958802fb74b71fe5e9a289ab495bcdd685 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 7 Sep 2022 10:33:08 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/srcnn.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/deeplearning/srcnn.py b/modules/deeplearning/srcnn.py
index e5db230d..e8d2f87c 100644
--- a/modules/deeplearning/srcnn.py
+++ b/modules/deeplearning/srcnn.py
@@ -661,7 +661,7 @@ def prepare(param_idx=1, filename='/Users/tomrink/data_valid_40.npy'):
     return nda_lr
 
 
-def run_evaluate_static(in_file, out_file, param='temp_11_0um_nom', ckpt_dir='/Users/tomrink/tf_model_sres/run-20220805173619/'):
+def run_evaluate_static(in_file, out_file, ckpt_dir):
     nda = np.load(in_file)
 
     nda = nda[:, data_idx, 3:131:2, 3:131:2]
@@ -669,7 +669,7 @@ def run_evaluate_static(in_file, out_file, param='temp_11_0um_nom', ckpt_dir='/U
     nda = np.expand_dims(nda, axis=3)
 
     nn = SRCNN()
-    out_sr = nn.run_evaluate(nda, param, ckpt_dir)
+    out_sr = nn.run_evaluate(nda, data_param, ckpt_dir)
     if out_file is not None:
         np.save(out_file, out_sr)
     else:
-- 
GitLab