Skip to content

Torch grid_sample coordinates transposed issue #1

@EdwardFerdian

Description

@EdwardFerdian

Hi @MalikTeng,

There is a potential issue with the F.grid_sample as it receives a ZYX ordered coordinate system instead of XYZ.
This was discussed here: https://discuss.pytorch.org/t/surprising-convention-for-grid-sample-coordinates/79997/9

You may need to transpose the coordinates first before performing the sampling.
It will have impact with the feature sampling (for the graph vertices) and learning process of the network in general.

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