facebookresearch / sam2

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
12.14k stars 1.1k forks source link

strange mask output in single image prediction #390

Closed lu-ming-lei closed 2 weeks ago

lu-ming-lei commented 2 weeks ago

I get masks result in type 3 w h,and three channles are different, by concatenate them I can get correct mask, but I wonder maybe some wrong in my understand?

企业微信截图_1729051362701 企业微信截图_17290512815446 企业微信截图_17290513715364 企业微信截图_17290513816120