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

fix resize call

parent 056669eb
Branches
No related tags found
No related merge requests found
......@@ -242,7 +242,9 @@ class ESPCN:
# data = np.concatenate(data_s)
data = np.concatenate(label_s)
data = tf.image.resize(data, (32, 32))
hr_shape = data.shape
data = tf.image.resize(data, (hr_shape[0], hr_shape[1], hr_shape[2] // 2, hr_shape[3] // 2))
label = np.concatenate(label_s)
label = label[:, label_idx, :, :]
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment