From 89f2cc059e930ccd0fbdb111077f09a92397c60b Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 11 Dec 2023 15:40:19 -0600 Subject: [PATCH] snapshot... --- modules/deeplearning/icing_fcn.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/deeplearning/icing_fcn.py b/modules/deeplearning/icing_fcn.py index acc119b6..ea211d6a 100644 --- a/modules/deeplearning/icing_fcn.py +++ b/modules/deeplearning/icing_fcn.py @@ -1159,6 +1159,7 @@ def run_evaluate_static(data_dct, num_tiles, ckpt_dir_s_path, day_night='DAY', l def run_evaluate_static_2(model, data_dct, num_tiles, prob_thresh=0.5, flight_levels=[0, 1, 2, 3, 4], use_flight_altitude=False, use_max_cth_level=False): + flight_levels = flight_levels.copy() if not use_flight_altitude: flight_levels = [0] @@ -1187,8 +1188,6 @@ def run_evaluate_static_2(model, data_dct, num_tiles, prob_thresh=0.5, flight_le probs_dct[flvl] = model.test_probs.flatten() preds_dct[flvl] = model.test_preds.flatten() - - return preds_dct, probs_dct -- GitLab