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

depth supervision code in maptrv2 is not valid? code bug? #168

Open
lwx422 opened this issue Apr 24, 2024 · 0 comments
Open

depth supervision code in maptrv2 is not valid? code bug? #168

lwx422 opened this issue Apr 24, 2024 · 0 comments

Comments

@lwx422
Copy link

lwx422 commented Apr 24, 2024

maptrv2 branch, file: projects/mmdet3d_plugin/maptr/modules/encoder.py
line 1162--1164 code:
fg_mask = depth_labels > 0.0 # 只计算有深度的前景的深度loss
depth_labels = depth_labels[fg_mask]
depth_preds = depth_preds[fg_mask]`
the "fg_mask" only keep positive samples, all negative samples are filtered which make this branch invalid, please check.

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