Closed ruppeshnalwaya1993 closed 7 years ago
It isn't a bug. I also provided ReverseXY layer https://github.com/ankurhanda/gvnn/blob/master/ReverseXYOrder.lua. This was mainly done because interpolations expected something that my other layers like so3/se3 etc. didn't quiet order the data the same way. If you are happy with it then that's fine. I will probably update the README.md and explain that.
I think there is a Bug in Opticalflow2D. The image after applying the optical flow using BilinearSamplerBHWD is transposed (x and y axes interchanged). The reason being error in self.baseGrid calculation. I have updated that. Please review.
Thanks Ruppesh