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

snapshot...

parent 2c042de4
No related branches found
No related tags found
No related merge requests found
......@@ -255,7 +255,8 @@ class SRCNN:
tmp = np.where(np.isnan(tmp), 0, tmp)
# tmp = tmp[:, self.slc_y_m, self.slc_x_m]
# tmp = self.upsample(tmp)
tmp = upsample_mean(tmp)
tmp = get_grid_cell_mean(tmp)
tmp = upsample_nearest(tmp)
tmp = tmp[:, self.slc_y, self.slc_x]
# ---------------
tmp = normalize(tmp, param, mean_std_dct)
......@@ -285,7 +286,8 @@ class SRCNN:
tmp = np.where(np.isnan(tmp), 0, tmp)
# tmp = tmp[:, self.slc_y_2, self.slc_x_2]
# tmp = self.upsample(tmp)
tmp = upsample_mean(tmp)
tmp = get_grid_cell_mean(tmp)
tmp = upsample_nearest(tmp)
tmp = tmp[:, self.slc_y, self.slc_x]
# ----------------
tmp = normalize(tmp, label_param, mean_std_dct)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment