OpenGVLab / SAM-Med2D

Official implementation of SAM-Med2D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

拥有空的或小的前景类区域的mask无法加载

Marsyule opened this issue · comments

utils中的get_boxes_from_mask()函数不能加载空的mask或前景类占比比较小的mask

Yes, get_boxes_from_mask() function only supports images with foreground to obtain the corresponding bounding boxes (Bbox). You can modify this function according to your needs.