Hi Stannis,
My input size is 64, 1, 32, 100
Let say by increasing padding and decreasing kernel size to 2 from 3, uplift my dinesions to 64, 1, 64, 128. and then doing adaptive avg pooling with kernel size(256, 256). Will this be alright?



 StannisLaw:

let input image size is (b, c, h, w) = (16, 3, 64, 1024)
let cnn output size is (16, 2048, 128, 512)
then
pooling =  nn.AdaptiveAvgPool2d((512, 512))
out = out.view(16, 2048, 128*512)
out = pooling(out)



Also Why did you multilpy ypur spatial dimesnsions before feeding to pooling. Cant it be done without multiplying?
Thanks