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

Why do you clamp L1 loss and geometry_consistency_loss to (0,1) ? #69

Open
whyygug opened this issue Dec 11, 2020 · 0 comments
Open

Why do you clamp L1 loss and geometry_consistency_loss to (0,1) ? #69

whyygug opened this issue Dec 11, 2020 · 0 comments

Comments

@whyygug
Copy link

whyygug commented Dec 11, 2020

diff_img = (tgt_img - ref_img_warped).abs().clamp(0, 1)
diff_depth = ((computed_depth - projected_depth).abs() / (computed_depth + projected_depth)).clamp(0, 1)

I'm confused because it seems that there is no need to clamp them to (0,1).

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

1 participant