SAM2Point / sam2 /csrc /connected_comp.py
ZiyuG's picture
Upload 42 files
d2410ba verified
raw
history blame
171 Bytes
from torch.autograd import Function
from sam2.csrc.backend import _backend
__all__ = ['connect']
def connect(mask):
return _backend.get_connected_componnets(mask)