From fc12ace337174606b11c7e83d38998fa876f2268 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 13 Nov 2023 16:34:50 -0600
Subject: [PATCH] snapshot...

---
 modules/deeplearning/icing_fcn.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/deeplearning/icing_fcn.py b/modules/deeplearning/icing_fcn.py
index b186f13e..401a1461 100644
--- a/modules/deeplearning/icing_fcn.py
+++ b/modules/deeplearning/icing_fcn.py
@@ -1190,7 +1190,11 @@ def run_average_models(ckpt_dir_s_path, day_night='NIGHT', l1b_andor_l2='BOTH',
         model_weight_s.append(k_model.get_weights())
     print('done loading models ******************************************')
     z_model_weights = zip(model_weight_s)
-    print('test: ', len(z_model_weights))
+    print('test')
+    avg_model_weights = []
+    for w in z_model_weights:
+        avg_model_weights(np.mean(w))
+    print('***', len(avg_model_weights))
 
     avg_model_weights = []
     for m in model_weight_s:
-- 
GitLab