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

fix demo confidence filter not to remove mask predictions #156

Merged
merged 1 commit into from Dec 3, 2022

Conversation

jasam-sheja
Copy link
Contributor

The function filter_predictions_with_confidence under demo/predictors.py destroys all info other than instances' image_size, pred_boxes, scores, and pred_classes. Because of that, the demo doesn't visualize the mask.

Fix it by allowing filter_predictions_with_confidence to modify the instances only and apply it to all fields under instances.

@rentainhe
Copy link
Collaborator

Thank you so much for your contribution!

@rentainhe rentainhe merged commit 43dbe84 into IDEA-Research:main Dec 3, 2022
Lontoone pushed a commit to Lontoone/detrex that referenced this pull request Jan 8, 2024
…rch#156)

Co-authored-by: jasam-sheja <jasam-sheja@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

None yet

2 participants