Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about warp layer #4

Open
wmn931201 opened this issue May 12, 2021 · 1 comment
Open

Question about warp layer #4

wmn931201 opened this issue May 12, 2021 · 1 comment

Comments

@wmn931201
Copy link

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)

@ltkong218
Copy link
Owner

ltkong218 commented May 13, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants