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

attention_x and attention_y give wrong values in some cases when image is resized #3675

Open
ejoebstl opened this issue May 22, 2023 · 1 comment
Labels

Comments

@ejoebstl
Copy link
Contributor

This bug report is regarding the attention_x and attention_y output params introduced in #3470.

The output given for attention_x and attention_y is incorrect when the image is resized. My assumption is that two-stage resizing is not handled correctly, specifically here.

I find the resizing code in pipeline.cc very hard to follow - @lovell do you have any advice on this by chance?

@lovell lovell added question and removed triage labels May 23, 2023
@lovell
Copy link
Owner

lovell commented May 23, 2023

Please can you provide a sample image and code that allows someone else to reproduce.

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

No branches or pull requests

2 participants