In corr.py, there is a line of code is:
delta = torch.stack(torch.meshgrid(dy, dx), axis=-1)
Shouldn't it be:
delta = torch.stack(torch.meshgrid(dx, dy, indexing="xy"), axis=-1)
?
Because the function "def bilinear_sampler(img, coords, mode='bilinear', mask=False)" looks the first place of the last dimension as x, and it looks the second place as y.
Am I wrong?
I'm confused, thanks very much for replying.