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

snapshot...

parent 7388a6dc
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ class OpdNpyDataset: ...@@ -193,7 +193,7 @@ class OpdNpyDataset:
opd = np.concatenate(opd_s) opd = np.concatenate(opd_s)
refl = np.concatenate(refl_s) refl = np.concatenate(refl_s)
hr_image = np.stack([refl, opd], axis=3) hr_image = np.stack([refl, opd], axis=2)
hr_image = tf.image.crop_to_bounding_box(hr_image, 0, 0, self.hr_size, self.hr_size) hr_image = tf.image.crop_to_bounding_box(hr_image, 0, 0, self.hr_size, self.hr_size)
low_resolution = tf.image.resize(hr_image, [self.lr_size, self.lr_size], method='bicubic') low_resolution = tf.image.resize(hr_image, [self.lr_size, self.lr_size], method='bicubic')
......
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