FPT icon indicating copy to clipboard operation
FPT copied to clipboard

About Input Resolution

Open duzw9311 opened this issue 1 year ago • 1 comments

Dear author, Thanks for your work. When I input the feature maps with sizes of [torch.Size([1, 256, 320, 208]), torch.Size([1, 512, 160, 104]), torch.Size([1, 1024, 80, 52]), torch.Size([1, 2048, 40, 26])] into FPT_a.py, i got the following error:

self.bn_reduction(self.str_conv3x3(x_low)) + x_att) RuntimeError: The size of tensor a (52) must match the size of tensor b (26) at non-singleton dimension 3"

Could you help me with this problem?

duzw9311 avatar Nov 30 '23 08:11 duzw9311

Same error.The resolution of P3 is four times that of P5,however the str_conv3x3 just downsample two times.The resolution is unmatch.Have you deal with it yet?

XiongXin1207 avatar Dec 04 '23 12:12 XiongXin1207