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
Support empty predictions when visualizing results #1166
Conversation
What is the error without this PR? |
The Besides, maybe checking the shape of Sorry but I can not reproduce the bug because I've deleted the json file by mistake. |
Does it work if you add |
Yes it works after reshaping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ppwwyyxx has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: This PR fixes a potential error when no predictions found in `tools/visualize_json_results.py`. Pull Request resolved: facebookresearch#1166 Reviewed By: rbgirshick Differential Revision: D20888849 Pulled By: ppwwyyxx fbshipit-source-id: a53d67a7f3ee63070defedb6ca3812d0ae5d6cc9
This PR fixes a potential error when no predictions found in
tools/visualize_json_results.py
.