From 8d3343495cefcf7a821e12d18ade03abc40c1e9d Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 11 Aug 2022 21:02:43 -0500 Subject: [PATCH] test... --- modules/deeplearning/espcn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/deeplearning/espcn.py b/modules/deeplearning/espcn.py index c9bd3abd..dc11ac89 100644 --- a/modules/deeplearning/espcn.py +++ b/modules/deeplearning/espcn.py @@ -196,12 +196,12 @@ class ESPCN: # label = label[:, label_idx, :, :] label = label[:, label_idx, 3:67, 3:67] label = np.expand_dims(label, axis=3) - label = tf.image.resize(label, (32, 32), method='nearest').numpy() + #label = tf.image.resize(label, (32, 32), method='nearest').numpy() # data = data[:, data_idx, :, :] data = data[:, data_idx, 3:67, 3:67] data = np.expand_dims(data, axis=3) - data = tf.image.resize(data, (32, 32), method='nearest').numpy() + #data = tf.image.resize(data, (32, 32), method='nearest').numpy() # data = tf.image.resize(data, (36, 36)).numpy() data = data.astype(np.float32) -- GitLab