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

what does" bm = (2 * (bm / 286.8) - 1) * 0.99" in inference.py mean? #6

Closed
quynhanh12345 opened this issue Mar 14, 2022 · 5 comments
Closed

Comments

@quynhanh12345
Copy link

No description provided.

@quynhanh12345 quynhanh12345 changed the title what " bm = (2 * (bm / 286.8) - 1) * 0.99" in inference.py means? what does" bm = (2 * (bm / 286.8) - 1) * 0.99" in inference.py mean? Mar 14, 2022
@fh2019ustc
Copy link
Owner

Hi, we use the code "bm = (2 * (bm / 286.8) - 1) * 0.99" rather than "bm = (2 * (bm / 287) - 1)". The goal is to compensate the coordinate bias from the dataset, which would cause the shifting of the rectified image.

@lsabrinax
Copy link

did the code "bm = (2 * (bm / 286.8) - 1) * 0.99" use on the pred bm when calculate the BM L1 loss

@fh2019ustc
Copy link
Owner

@lsabrinax It is not used to calculate the flow loss.

@lsabrinax
Copy link

@lsabrinax It is not used to calculate the flow loss.

thank you for your reply, does it mean the GeoTr model directly regress the absolute value in flow between 0-287

@fh2019ustc
Copy link
Owner

@lsabrinax Yeah~

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

3 participants