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

test...

parent d05bc0bd
No related merge requests found
......@@ -196,12 +196,12 @@ class ESPCN:
# label = label[:, label_idx, :, :]
label = label[:, label_idx, 3:67, 3:67]
label = np.expand_dims(label, axis=3)
label = tf.image.resize(label, (32, 32)).numpy()
label = tf.image.resize(label, (32, 32), method='nearest').numpy()
# data = data[:, data_idx, :, :]
data = data[:, data_idx, 3:67, 3:67]
data = np.expand_dims(data, axis=3)
data = tf.image.resize(data, (32, 32)).numpy()
data = tf.image.resize(data, (32, 32), method='nearest').numpy()
# data = tf.image.resize(data, (36, 36)).numpy()
data = data.astype(np.float32)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment