Canjie-Luo/MORAN_v2

论文中的一个小细节问题

fuyongXu opened this issue · 1 comments

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

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

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