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.12k stars 1.31k forks source link

No mask data from grounded_sam_demo.py #471

Open zhongyingji opened 3 months ago

zhongyingji commented 3 months ago

Hi, thanks for the great work!

I tried the grounded sam demo, by using python grounded_sam_demo.py xxx. It seems that the output dirs has a mask.json file which only contains four corners of detected boxes. How to get the mask for each detected object?

Thank you: )