Skip to content

请教一下grid sample的grid最后一维顺序问题 #7

Description

@bu1lder

torch.nn.functional.grid_sample的输入grid疑问,交换顺序之前是xy,交换之后是yx,交换之后是否顺序反了?

参数grid中的最后一维的顺序为( x , y ) (x,y)(x,y),但输入图像大小( H , W ) (H,W)(H,W)对应( y _ s i z e , x _ s i z e ) (y_size,x_size)(y_size,x_size)
参考的

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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