We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If there are no masks found, this errors out here, due to said reduce having no default value.
I can reproduce this fairly easily:
sam_vit_h_4b8939.pth
predicted_iou_threshold
stability_score_threshold
clip_threshold
(Most of these steps are probably unnecessary. Ditto, I realize that setting a threshold to 1 is somewhat silly.)
Said error is also fairly ungraceful in the UI: a red 'Error' and that's it.
Maybe either a) pass a default all-ones mask or b) if no masks pass the threshold then pick one mask with the highest confidence?
The text was updated successfully, but these errors were encountered:
Thanks! I'll try to modify it in the direction of option B.
Sorry, something went wrong.
No branches or pull requests
If there are no masks found, this errors out here, due to said reduce having no default value.
I can reproduce this fairly easily:
sam_vit_h_4b8939.pth
.predicted_iou_threshold
/stability_score_threshold
/clip_threshold
to 1.(Most of these steps are probably unnecessary. Ditto, I realize that setting a threshold to 1 is somewhat silly.)
Said error is also fairly ungraceful in the UI: a red 'Error' and that's it.
Maybe either a) pass a default all-ones mask or b) if no masks pass the threshold then pick one mask with the highest confidence?
The text was updated successfully, but these errors were encountered: