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

Minor update to prompt-based segmentation #825

Merged
merged 2 commits into from
Jan 5, 2025
Merged

Conversation

anwai98
Copy link
Contributor

@anwai98 anwai98 commented Jan 5, 2025

This PR takes care of a corner case where we avoid extracting prompts from labels where there are no masks. I encountered this in 3d interactive segmentation. And this comes across only in places where even the initial prompt does a pretty bad job and we try to extract the first round of prompts (eg. starting with point prompts with MedSAM).

GTG from my side!

@anwai98 anwai98 requested a review from constantinpape January 5, 2025 19:34
micro_sam/prompt_based_segmentation.py Outdated Show resolved Hide resolved
micro_sam/prompt_based_segmentation.py Outdated Show resolved Hide resolved
@constantinpape constantinpape merged commit 9073486 into dev Jan 5, 2025
3 checks passed
@constantinpape constantinpape deleted the u-prompt-seg branch January 5, 2025 22:45
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.

2 participants