Skip to content
Snippets Groups Projects
Commit 4c383f46 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 5cba2098
No related branches found
No related tags found
No related merge requests found
......@@ -897,13 +897,12 @@ def run_restore_static(directory, ckpt_dir, out_file=None):
if out_file is not None:
y_hi, x_hi = (Y_LEN // 4) + 1, (X_LEN // 4) + 1
np.save(out_file,
[labels, preds,
[labels, preds, cat_cld_frac,
inputs[:, 1:y_hi, 1:x_hi, 0],
descale(inputs[:, 1:y_hi, 1:x_hi, 1], 'refl_0_65um_nom', mean_std_dct),
descale(inputs[:, 1:y_hi, 1:x_hi, 2], 'refl_0_65um_nom', mean_std_dct),
inputs[:, 1:y_hi, 1:x_hi, 3],
descale(inputs[:, 1:y_hi, 1:x_hi, 4], label_param, mean_std_dct),
cat_cld_frac])
descale(inputs[:, 1:y_hi, 1:x_hi, 4], label_param, mean_std_dct)])
def run_evaluate_static(in_file, out_file, ckpt_dir):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment