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

inf bbox loss when using cal_giou_3d ( but the iou is right) #49

Open
YuQiao0303 opened this issue Oct 24, 2022 · 0 comments
Open

inf bbox loss when using cal_giou_3d ( but the iou is right) #49

YuQiao0303 opened this issue Oct 24, 2022 · 0 comments

Comments

@YuQiao0303
Copy link

Hi author,
Thank you for your nice work.
I encountered a case where I get bbox_iou of 0.7304, but bbox_loss: -inf.

After that it's:
CUDA kernel failed : invalid configuration argument.

Should I modify
giou_loss = 1. - iou3d + (v_c - u3d) / v_c
as
giou_loss = 1. - iou3d + (v_c - u3d) / (v_c + 1e-14)?

Thank you!

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