-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Behavior for no predictions during visualization #1721
Comments
I think it's a reasonable solution, you can open a PR to fix this issue. |
This was referenced Aug 11, 2022
Solved with #1725 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A
RuntimeError
is thrown during visualization with no predictions.Discussion
I'd like to know how this error should be handled. As a check for
None
predicted labels is already done, I assume that the behavior on zero predictions should be the same. See below in Bug fix.Reproduction
Use a model which does not predict labels on a test run.
Environment
python mmdet3d/utils/collect_env.py
to collect necessary environment information and paste it here.Error traceback
Bug fix
As mentioned in #1461, we could add
pred_labels.numel() == 0
check in linemmdetection3d/mmdet3d/core/visualizer/show_result.py
Line 106 in 073f353
here to start visualization without available predictions. I can open a pull request to do so.
The text was updated successfully, but these errors were encountered: