Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Input Resolution #38

Open
duzw9311 opened this issue Nov 30, 2023 · 1 comment
Open

About Input Resolution #38

duzw9311 opened this issue Nov 30, 2023 · 1 comment

Comments

@duzw9311
Copy link

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?

@XiongXin1207
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants