From e8d17a34fb21d97e867734ed28cf222853edd537 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 14 Nov 2023 09:58:06 -0600 Subject: [PATCH] snapshot... --- modules/deeplearning/icing_fcn.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/deeplearning/icing_fcn.py b/modules/deeplearning/icing_fcn.py index 0feb0719..8bd6fb47 100644 --- a/modules/deeplearning/icing_fcn.py +++ b/modules/deeplearning/icing_fcn.py @@ -1199,6 +1199,9 @@ def run_average_models(ckpt_dir_s_path, day_night='NIGHT', l1b_andor_l2='BOTH', model_lyrs[k].append(w) for lyr in model_lyrs: nda = np.stack(lyr) + print(nda.shape) + avg = np.mean(nda) + print(avg.shape) avg_model_weights.append(nda) # -- Make a new model for the averaged weights -- GitLab