diff --git a/modules/deeplearning/icing_cnn.py b/modules/deeplearning/icing_cnn.py index 38b9463d7d94edfbdf7681020e2c5d063b8ad13c..f3431d1d620f57c5401c9e17594cd86771e5c6ff 100644 --- a/modules/deeplearning/icing_cnn.py +++ b/modules/deeplearning/icing_cnn.py @@ -979,7 +979,9 @@ def run_restore_static(filename_l1b, filename_l2, ckpt_dir_s_path): def run_evaluate_static(h5f, ckpt_dir_s_path, prob_thresh=0.5, satellite='GOES16', domain='FD'): data_dct, ll, cc = make_for_full_domain_predict(h5f, name_list=train_params, domain=domain) + ckpt_dir_s = os.listdir(ckpt_dir_s_path) + prob_s = [] for ckpt in ckpt_dir_s: ckpt_dir = ckpt_dir_s_path + ckpt