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

`snapshot...`

parent 7bab6519
Branches
No related tags found
No related merge requests found
......@@ -268,7 +268,8 @@ class SRCNN:
tmp = np.where(np.isnan(tmp), 0.0, tmp)
tmp = tmp[:, self.slc_y_m, self.slc_x_m]
tmp = self.upsample(tmp)
tmp = smooth_2d(tmp)
if DO_SMOOTH:
tmp = smooth_2d(tmp)
tmp = normalize(tmp, param, mean_std_dct)
data_norm.append(tmp)
......@@ -286,7 +287,8 @@ class SRCNN:
# tmp = np.where(np.isnan(tmp), 0.0, tmp)
# tmp = tmp[:, self.slc_y_2, self.slc_x_2]
# tmp = self.upsample(tmp)
# tmp = smooth_2d(tmp)
# if DO_SMOOTH:
# tmp = smooth_2d(tmp)
# tmp = normalize(tmp, label_param, mean_std_dct)
# data_norm.append(tmp)
......@@ -295,7 +297,8 @@ class SRCNN:
tmp = np.where(np.isnan(tmp), 0.0, tmp)
tmp = tmp[:, self.slc_y_2, self.slc_x_2]
tmp = self.upsample(tmp)
tmp = smooth_2d(tmp)
if DO_SMOOTH:
tmp = smooth_2d(tmp)
tmp = normalize(tmp, label_param, mean_std_dct)
data_norm.append(tmp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment