diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py index 7f718216e3a417e11f483fa018b593e7aef9552f..9431134541fb20027fe27beff70d4f992b0b0a3b 100644 --- a/modules/deeplearning/srcnn_l1b_l2.py +++ b/modules/deeplearning/srcnn_l1b_l2.py @@ -73,8 +73,6 @@ y_67 = np.arange(67) # y_134_2 = slice(3, 131, 2) x_128_2 = slice(3, 131, 2) y_128_2 = slice(3, 131, 2) -x_128 = slice(3, 131) -y_128 = slice(3, 131) x_130 = slice(2, 132) y_130 = slice(2, 132) @@ -87,6 +85,9 @@ y_130 = slice(2, 132) x_134_2 = slice(1, 134, 2) y_134_2 = slice(1, 134, 2) +x_128 = slice(3, 131) +y_128 = slice(3, 131) + # Kernel size: 3, target size: (128, 128) x_130 = slice(2, 132) y_130 = slice(2, 132) @@ -98,6 +99,21 @@ t = np.arange(1, 66, 0.5) s = np.arange(1, 66, 0.5) x_2 = x_67 y_2 = y_67 +# ---------------------------------------- + +# Kernel size: 5, target_size: (128, 128) +# x_132 = slice(3, 135) +# y_132 = slice(3, 135) +# slc_x = slice(5, 133) +# slc_y = slice(5, 133) +# slc_x_2 = slice(2, 137, 2) +# slc_y_2 = slice(2, 137, 2) +# +# t = np.arange(1, 67, 0.5) +# s = np.arange(1, 67, 0.5) +# x_2 = np.arange(68) +# y_2 = np.arange(68) +# ---------------------------------------- def build_residual_conv2d_block(conv, num_filters, block_name, activation=tf.nn.relu, padding='SAME',