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

[BUG] in sbu conversion, prediction- and color- calculate patches differently #113

Open
kaczmarj opened this issue Apr 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kaczmarj
Copy link
Member

in email...

Patch locations in prediction-* files are computed using the following coordinate computations:

(df.minx + (df.width / 2)).round().astype(int)
(df.miny + (df.height / 2)).round().astype(int)

Patch locations in color-* files were being computed as follows:

df.minx + ((df.minx + df.width) / 2)
df.miny + ((df.miny + df.height) / 2)

The coordinate computations are different leading to mismatch between patches in color-* and those in prediction-*.

@kaczmarj kaczmarj added the bug Something isn't working label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant