tianrun-chen / SAM-Adapter-PyTorch

Adapting Meta AI's Segment Anything to Downstream Tasks with Adapters and Prompts
MIT License
968 stars 83 forks source link

Question about binary masks #8

Closed Jack-bo1220 closed 1 year ago

Jack-bo1220 commented 1 year ago

A great work! Is the binary mask (GT)used for training and validation 0/255 or 0/1?

xiaohongzaizhe commented 1 year ago

255 自己opencv一下就知道了

tianrun-chen commented 1 year ago

It is 255