forked from neverbiasu/ComfyUI-SAM2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
17 lines (15 loc) · 716 Bytes
/
Copy path__init__.py
File metadata and controls
17 lines (15 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from .node import SAM2ModelLoader, GroundingDinoModelLoader, GroundingDinoSAM2Segment, InvertMask, IsMaskEmptyNode
NODE_CLASS_MAPPINGS = {
'SAM2ModelLoader (segment anything2)': SAM2ModelLoader,
'GroundingDinoModelLoader (segment anything2)': GroundingDinoModelLoader,
'GroundingDinoSAM2Segment (segment anything2)': GroundingDinoSAM2Segment,
'InvertMask (segment anything)': InvertMask,
"IsMaskEmpty": IsMaskEmptyNode,
}
NODE_DISPLAY_NAME_MAPPINGS = {
'SAM2ModelLoader': 'SAM2 Model Loader',
'GroundingDinoModelLoader': 'Grounding Dino Model Loader',
'GroundingDinoSAM2Segment': 'Grounding Dino SAM2 Segment',
'InvertMask': 'Invert Mask',
"IsMaskEmpty": "Is Mask Empty",
}