ItchyFingaz commited on
Commit
8937a2b
1 Parent(s): c789cd8

Update custom_node_furniture_mask.py

Browse files
Files changed (1) hide show
  1. custom_node_furniture_mask.py +1 -8
custom_node_furniture_mask.py CHANGED
@@ -1,5 +1,4 @@
1
  # custom_node_furniture_mask.py by StyleSpace (and GPT4)
2
-
3
  import torch
4
  import torchvision.transforms as T
5
  from torchvision.models.segmentation import deeplabv3_resnet50
@@ -23,13 +22,7 @@ class FurnitureMaskNode:
23
  },
24
  }
25
 
26
- @classmethod
27
- def RETURN_TYPES(cls):
28
- return {
29
- "image": ("IMAGE",),
30
- "mask": ("MASK",),
31
- }
32
-
33
  FUNCTION = "detect_furniture"
34
 
35
  CATEGORY = "custom"
 
1
  # custom_node_furniture_mask.py by StyleSpace (and GPT4)
 
2
  import torch
3
  import torchvision.transforms as T
4
  from torchvision.models.segmentation import deeplabv3_resnet50
 
22
  },
23
  }
24
 
25
+ RETURN_TYPES = ("IMAGE", "MASK")
 
 
 
 
 
 
26
  FUNCTION = "detect_furniture"
27
 
28
  CATEGORY = "custom"