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

[BUGs] Backward error for non-square images #186

Open
Younger330 opened this issue Jun 13, 2024 · 0 comments
Open

[BUGs] Backward error for non-square images #186

Younger330 opened this issue Jun 13, 2024 · 0 comments

Comments

@Younger330
Copy link

Hello,

I am experiencing an issue with backward errors after using downsampling on feature maps of dimension (Batch_size, 256, 360, 480). After performing the backward operation, an error is returned even though the dimensions are verified to be correct.

output = right_pool.backward(input, grad_output)[0]
RuntimeError: The size of tensor a (480) must match the size of tensor b (360) at non-singleton dimension 2

Interestingly, when I replace the C++ file with https://github.com/princeton-vl/CornerNet-Lite/tree/master/core/models/py_utils/_cpools , the error no longer occurs.

Could you please look into this issue?

Thank you for your assistance.

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

1 participant