I am trying to apply 2 convolutional layers with the tf.slim.conv2d function, they basically reduce the size of my input image by half each time. Then I want to apply the convolution2d_transpose to get my original image shape back. The problem is I don't exactly know how to use the transpose convolution function, and the documentation is not much help.
I am using a custom wrapper, but here is what I have so far:
Input Batch [8, 161, 141] ----> Conv2d [outputs = 32,
kernel_size = [41,11], stride= [2,2]]
which cuts the original image in half, and another such layer which cuts it again.
How can I apply the convolution_transpose function to reverse the effect of these two layers now ?