Skip to content

请问delta的meshgrid那里是RAFT作者写错了是吗 #9

@alrisgn

Description

@alrisgn

RAFT作者在corr.py里写的是
delta = torch.stack(torch.meshgrid(dy, dx), axis=-1)
你的代码里改成了
delta = torch.stack(torch.meshgrid(dx, dy, indexing="xy"), axis=-1)
我感觉你是对的,但我不敢判断。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions