Skip to content
Snippets Groups Projects
Commit 97ff3dba authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 63a99bb9
No related branches found
No related tags found
No related merge requests found
...@@ -1164,9 +1164,6 @@ def run_evaluate_static_2(model, data_dct, num_tiles, prob_thresh=0.5, flight_le ...@@ -1164,9 +1164,6 @@ def run_evaluate_static_2(model, data_dct, num_tiles, prob_thresh=0.5, flight_le
if not use_flight_altitude: if not use_flight_altitude:
flight_levels = [0] flight_levels = [0]
if use_max_cth_level:
flight_levels.append(5)
probs_dct = {flvl: None for flvl in flight_levels} probs_dct = {flvl: None for flvl in flight_levels}
preds_dct = {flvl: None for flvl in flight_levels} preds_dct = {flvl: None for flvl in flight_levels}
...@@ -1180,6 +1177,8 @@ def run_evaluate_static_2(model, data_dct, num_tiles, prob_thresh=0.5, flight_le ...@@ -1180,6 +1177,8 @@ def run_evaluate_static_2(model, data_dct, num_tiles, prob_thresh=0.5, flight_le
if use_max_cth_level: if use_max_cth_level:
flvl = 5 flvl = 5
probs_dct[flvl] = None
preds_dct[flvl] = None
model.cth_max = data_dct.get('cth_high_avg', None) model.cth_max = data_dct.get('cth_high_avg', None)
model.flight_level = flvl model.flight_level = flvl
model.setup_eval_pipeline(data_dct, num_tiles) model.setup_eval_pipeline(data_dct, num_tiles)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment