Open luowei0701 opened 1 year ago
SAM supports three different scale instance mask outputs for each input default, Users could choose the scale of mask they want by setting the mask_scale
, you are very patient, I forgot to add this into the tutorial.
An interesting job, but I have some questions. Why set mask_scale=1 with multimask_output=True instead of mask_scale=0 with multimask_output=False here? https://github.com/ziqi-jin/finetune-anything/blob/85a0658cb0011a504aa73f2399cf4ab305cc8a65/extend_sam/mask_decoder_heads.py#L192