Skip to content

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

@onlyairnopods

Description

@onlyairnopods

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions