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

snapshot...

parent ec589991
Branches
No related tags found
No related merge requests found
......@@ -734,9 +734,11 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
cld_opd_sres = nn.run_evaluate(data, ckpt_dir)
cld_opd_sres = denormalize(cld_opd_sres, label_param, mean_std_dct)
_, ylen, xlen, _ = cld_opd_sres.shape
cld_opd_sres_out = np.zeros((LEN_Y, LEN_X), dtype=np.float32)
refl_out = np.zeros((LEN_Y, LEN_X), dtype=np.float32)
cld_opd_out = np.zeros((LEN_Y, LEN_X), dtype=np.float32)
border = int((KERNEL_SIZE - 1) / 2)
cld_opd_sres_out[border:(border+ylen), border:(border+xlen)] = cld_opd_sres[0, :, :, 0]
refl_out[0:(ylen+2*border), 0:(xlen+2*border)] = refl[0, :, :]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment