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

`snapshot...`

parent 8a355ccc
No related branches found
No related tags found
No related merge requests found
...@@ -255,7 +255,8 @@ class SRCNN: ...@@ -255,7 +255,8 @@ class SRCNN:
tmp = np.where(np.isnan(tmp), 0, tmp) tmp = np.where(np.isnan(tmp), 0, tmp)
tmp = tmp[:, self.slc_y_m, self.slc_x_m] tmp = tmp[:, self.slc_y_m, self.slc_x_m]
tmp = self.upsample(tmp) tmp = self.upsample(tmp)
tmp = smooth_2d(tmp) if DO_SMOOTH:
tmp = smooth_2d(tmp)
# --------------- # ---------------
# tmp = upsample_nearest(tmp) # tmp = upsample_nearest(tmp)
# tmp = tmp[:, self.slc_y, self.slc_x] # tmp = tmp[:, self.slc_y, self.slc_x]
...@@ -287,7 +288,8 @@ class SRCNN: ...@@ -287,7 +288,8 @@ class SRCNN:
tmp = np.where(np.isnan(tmp), 0, tmp) tmp = np.where(np.isnan(tmp), 0, tmp)
tmp = tmp[:, self.slc_y_2, self.slc_x_2] tmp = tmp[:, self.slc_y_2, self.slc_x_2]
tmp = self.upsample(tmp) tmp = self.upsample(tmp)
tmp = smooth_2d(tmp) if DO_SMOOTH:
tmp = smooth_2d(tmp)
# ---------------- # ----------------
# tmp = upsample_nearest(tmp) # tmp = upsample_nearest(tmp)
# tmp = tmp[:, self.slc_y, self.slc_x] # tmp = tmp[:, self.slc_y, self.slc_x]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment