FastFlowNet icon indicating copy to clipboard operation
FastFlowNet copied to clipboard

Question about warp layer

Open wmn931201 opened this issue 3 years ago • 1 comments

Hi, Thanks for your great work. I am confused why flow6_up is multiplied by 0.625 here. eg: f25_w = self.warp(f25, flow6_up*0.625)

wmn931201 avatar May 12 '21 08:05 wmn931201

Thank you for your appreciation. Let height and width of original input image to be H and W, flow6_up has spatial shape of (H / 32, W / 32), while the flow field of flow6 and flow6_up is supervised with ground truth flow divided by 20. So before we use it to warp target feature in pyramid level 5, we should multiply flow6_up by a scale factor of 20 / 32 = 0.625 to make it represent true displacement.

ltkong218 avatar May 13 '21 13:05 ltkong218