From d058f4bef7f1fa7cb4f71d56fcf6dd30acbcc573 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 2 Sep 2022 10:50:31 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/deeplearning/srcnn.py b/modules/deeplearning/srcnn.py
index 35884b5b..ea21c8ba 100644
--- a/modules/deeplearning/srcnn.py
+++ b/modules/deeplearning/srcnn.py
@@ -662,8 +662,6 @@ def prepare(param_idx=1, filename='/Users/tomrink/data_valid_40.npy'):
 
 def run_evaluate_static(in_file, out_file, param='temp_11_0um_nom', ckpt_dir='/Users/tomrink/tf_model_sres/run-20220805173619/'):
     nda = np.load(in_file)
-    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)
-- 
GitLab