Open xyjin01 opened 1 year ago
For each point, SAM will output three masks by default, so the number of raw segmentation maps should be 3 4 4 = 48 in your case. If you only want one segmentation mask per point, you can set multimask_output as False in this line.
For each point, SAM will output three masks by default, so the number of raw segmentation maps should be 3 4 4 = 48 in your case. If you only want one segmentation mask per point, you can set multimask_output as False in this line.
Oh, it really works!! Thank you very much, you really did me a big favor!
In SamAutomaticMaskGenerator, I set points Per Set to 4, I thought the segmentation maps I obtain should not exceed 4 * 4, which is 16, but I obtained 22 feature maps. Why? My setting is:
Could anyone tell me why? And what is the correct settings to get maps whose number is not larger than 16? Thanks very much!