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

snapshot...

parent 25083a84
Branches
No related tags found
No related merge requests found
...@@ -881,7 +881,8 @@ class SRCNN: ...@@ -881,7 +881,8 @@ class SRCNN:
refl = np.expand_dims(refl, axis=0) refl = np.expand_dims(refl, axis=0)
# refl_us = self.upsample(refl) # refl_us = self.upsample(refl)
refl_us = refl refl_us = refl
if DO_SMOOTH: # if DO_SMOOTH:
if False:
refl_us = smooth_2d(refl) refl_us = smooth_2d(refl)
refl_us = normalize(refl_us, 'refl_0_65um_nom', mean_std_dct) refl_us = normalize(refl_us, 'refl_0_65um_nom', mean_std_dct)
...@@ -914,6 +915,7 @@ class SRCNN: ...@@ -914,6 +915,7 @@ class SRCNN:
# data = np.stack([bt_us, refl_us, refl_sub_lo, refl_sub_hi, refl_sub_std, cld_opd_us], axis=3) # data = np.stack([bt_us, refl_us, refl_sub_lo, refl_sub_hi, refl_sub_std, cld_opd_us], axis=3)
# data = np.stack([bt_us, refl_us, cld_opd_us, refl_sub_std], axis=3) # data = np.stack([bt_us, refl_us, cld_opd_us, refl_sub_std], axis=3)
data = np.stack([bt_us, refl_us, cld_opd_us], axis=3) data = np.stack([bt_us, refl_us, cld_opd_us], axis=3)
print('data in: ', data.shape)
cld_opd_sres = self.do_inference(data) cld_opd_sres = self.do_inference(data)
cld_opd_sres = denormalize(cld_opd_sres, label_param, mean_std_dct) cld_opd_sres = denormalize(cld_opd_sres, label_param, mean_std_dct)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment