sam3 icon indicating copy to clipboard operation
sam3 copied to clipboard

Text Prompt "person/human" Not Working for Segmentation (Works with "shoe")

Open cilinyan opened this issue 1 month ago • 4 comments

In examples/sam3_image_predictor_example.ipynb, the text prompt segmentation works correctly with "shoe", but no valid mask is generated when using "person" or "human" (with images containing clear human subjects). Could you provide guidance on how to properly use text prompts for person/human segmentation? Thanks!

cilinyan avatar Nov 20 '25 14:11 cilinyan

After testing, the text prompt "a person" now works for human segmentation (where "person" or "human" alone failed earlier)!

cilinyan avatar Nov 20 '25 14:11 cilinyan

It's quite hard to tell what's happening without looking at the image. One thing you can play with is the detection threshold. It's 0.5 by default, you can try lowering to 0.3 to improve recall.

alcinos avatar Nov 20 '25 18:11 alcinos

same for me, even 'shoes' is not working, but 'shoe' works well. Seems very senstive to text

hizuka590 avatar Nov 24 '25 19:11 hizuka590

same to me ,so could you give me some suggestion for prompt

caobin2019-cmd avatar Dec 12 '25 07:12 caobin2019-cmd