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

论文中的一个小细节问题 #122

Closed
fuyongXu opened this issue Feb 14, 2020 · 1 comment
Closed

论文中的一个小细节问题 #122

fuyongXu opened this issue Feb 14, 2020 · 1 comment

Comments

@fuyongXu
Copy link

你好,请问一下在论文中有这么一句话
Before sampling, the x-coordinate and y-coordinate on the offset maps are normalized to [0; W ] and [0; H],respectively.
但是在代码中我好像没有看到这样的实现。

@Canjie-Luo
Copy link
Owner

x_rectified = nn.functional.grid_sample(x, offsets_x)

我们的v2版本直接用了PyTorch的官方函数。

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

2 participants