IDEA-Research / Grounded-Segment-Anything

Grounded SAM: Marrying Grounding DINO with Segment Anything & Stable Diffusion & Recognize Anything - Automatically Detect , Segment and Generate Anything
https://arxiv.org/abs/2401.14159
Apache License 2.0
14.97k stars 1.39k forks source link

Program runtime issues #331

Open nomoneyExpection opened 1 year ago

nomoneyExpection commented 1 year ago

I would like to ask everyone who is using this project how long it takes on average to run Grounded-SAM: Detect and Segment Everything with Text Prompt. It takes me about two and a half minutes. Is it because of my computer configuration problem or other problems or Where is the time spent running the program?

rentainhe commented 1 year ago

You can refer to this issue https://github.com/IDEA-Research/Grounded-Segment-Anything/issues/307 to see if there're some accelerate methods for solving this.

It's our fault, we did not highly modify the inference speed, you can also try to use MobileSAM to accelerate the inference speed, we've already implemented the demo here: https://github.com/IDEA-Research/Grounded-Segment-Anything/tree/main/EfficientSAM#run-grounded-mobilesam-demo