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

snapshot...

parent 0805f361
Branches
No related tags found
No related merge requests found
......@@ -750,8 +750,6 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
data = np.stack([bt_us, refl_us, cld_opd_us], axis=3)
h5f.close()
cld_opd_sres = nn.run_evaluate(data, ckpt_dir)
cld_opd_sres = descale(cld_opd_sres, label_param, mean_std_dct)
_, ylen, xlen, _ = cld_opd_sres.shape
......@@ -769,6 +767,8 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
# refl_out = denormalize(refl_out, 'refl_0_65um_nom', mean_std_dct)
# cld_opd_out = denormalize(cld_opd_out, label_param, mean_std_dct)
h5f.close()
if out_file is not None:
# np.save(out_file, (cld_opd_sres_out, refl_out, cld_opd_out, cld_opd_hres))
np.save(out_file, (cld_opd_sres_out, refl, cld_opd, cld_opd_hres))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment