I used tensorflow before. I just learn pytorch a few days ago.
I want to use pytorch to do something I did with tensorflow before. But I meet a problem, I do not know how to do the interpolating of optical flow.
That is mean, the optical flow has 2 channels such as (Batch_size, 2, height, width).  One channel for delta x, another for delta y, using the base grid to add the flow and then sample from origin image.
By the way, in the 2017 CVPR, there is also a paper mention it. Deep feature flow.
Maybe I just start to learn pytorch, it is a bit difficult for me to do interpolating with pytorch. Can I directly use for loop to handle each pixel? Or If you would like to help me, can you show me some demos or examples.
Thanks a lot.