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

snapshot...

parent 35dd7285
No related merge requests found
......@@ -820,7 +820,7 @@ class SRCNN:
cld_frac = self.run_inference_(bt, refl, refl_lo, refl_hi, refl_std, cp)
cld_frac_out = np.zeros((y_len, x_len), dtype=np.int8)
cld_frac_out = np.full((y_len, x_len), -1, dtype=np.int8)
border = int((KERNEL_SIZE - 1) / 2)
cld_frac_out[border:y_len - border, border:x_len - border] = cld_frac[0, :, :]
......@@ -886,7 +886,7 @@ class SRCNN:
t1 = time.time()
print(' inference time: ', (t1-t0))
cld_frac_out = np.zeros((y_len, x_len), dtype=np.int8)
cld_frac_out = np.full((y_len, x_len), -1, dtype=np.int8)
border = int((KERNEL_SIZE - 1) / 2)
cld_frac_out[border:h_y_len, border:x_len - border] = cld_frac_nh[0, :, :]
cld_frac_out[h_y_len:y_len - border, border:x_len - border] = cld_frac_sh[0, :, :]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment