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

fix resize call

parent 056669eb
No related branches found
No related tags found
No related merge requests found
......@@ -240,9 +240,11 @@ class ESPCN:
nda = np.load(f)
label_s.append(nda)
#data = np.concatenate(data_s)
# 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.
Finish editing this message first!
Please register or to comment