Regarding the answer posted here, When I want to use the equations for obtaining the values of the parameters of the transposed convolution, I face some problems. For example, I have a tensor with the size of [16,256,16,160,160] and I want to upsample that to the size of [16,256,16,224,224]. Based on the equation of the transposed convolution, when, for solving the equations for the height, I select stride+2 and I want to find the k (kernel size), I have the following equation that the kernel size will have a large and also negative value.
224 = (160 - 2)x (2) + 1x(k - 1) + 1
What is wrong with my calculations and how I can find the parameters.
source https://stackoverflow.com/questions/74898431/problem-with-solving-exquations-of-transposedconv2d-for-finding-its-parameters
Comments
Post a Comment