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

[question] How to segment everything in a img without any prompts? #81

Open
zydmtaichi opened this issue Jan 8, 2025 · 1 comment
Open

Comments

@zydmtaichi
Copy link

If i want to seg every possible object in a img like panoptic segment mode. which parameters I should pass to cmd line? May I get some useful introduction?

@rentainhe
Copy link
Collaborator

rentainhe commented Jan 8, 2025

I think you can firstly run sam2 auto mask generator to get the proposal masks and then run sam2 video predictor to track everything based on the generated masks.

In DINO-X we have proposed a prompt-free function to detect everything possible objects in an image, you can also implemented the prompt-free tracking by combining DINO-X API with SAM 2 in this codebase:

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

No branches or pull requests

2 participants