From 9782049a6340a6c2c63400379b50b29f646b5a64 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 21 Mar 2023 09:19:50 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/cnn_cld_frac_mod_res.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/deeplearning/cnn_cld_frac_mod_res.py b/modules/deeplearning/cnn_cld_frac_mod_res.py index 5ef886ed..39ab18a2 100644 --- a/modules/deeplearning/cnn_cld_frac_mod_res.py +++ b/modules/deeplearning/cnn_cld_frac_mod_res.py @@ -607,7 +607,7 @@ class SRCNN: # decorator commented out because pred.numpy(): pred not evaluated yet. def predict(self, inputs, labels): pred = self.model([inputs], training=False) - # t_loss = self.loss(tf.squeeze(labels), pred) + # t_loss = self.loss(tf.squeeze(labels, axis=[3]), pred) t_loss = self.loss(labels, pred) self.test_labels.append(labels) -- GitLab