facebookresearch / segment-anything-2

The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
10.76k stars 874 forks source link

Get black and white mask #275

Open wangfei0903 opened 2 weeks ago

wangfei0903 commented 2 weeks ago

Thank you for your contribution. I am a trusted expert in the field of semantic segmentation. How can I obtain the segmented black and white mask? We look forward to your reply