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: cv2.resize(nl_map, dsize=(h, w)) #53

Open
onlyairnopods opened this issue Mar 29, 2024 · 0 comments
Open

BUG: cv2.resize(nl_map, dsize=(h, w)) #53

onlyairnopods opened this issue Mar 29, 2024 · 0 comments

Comments

@onlyairnopods
Copy link

https://github.com/AlexHex7/Non-local_pytorch/blame/ec15789af4533448169f3dc36abe542badd34221/nl_map_vis/nl_map_vis.py#L33

nl_map = cv2.resize(nl_map, dsize=(h, w))

Shouldn't it be dsize=(w, h) ?
I encountered this bug when my image size W ≠ H.

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