mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 21:04:41 +08:00
Update mask_nodes.py
This commit is contained in:
parent
3260038935
commit
030b6a20b5
@ -91,6 +91,9 @@ Segments an image or batch of images using CLIPSeg.
|
||||
if binary_mask:
|
||||
results = results.round()
|
||||
|
||||
del outputs, tensor, tensor_thresholded, tensor_normalized, resized_tensor, images
|
||||
torch.cuda.empty_cache()
|
||||
|
||||
return results,
|
||||
|
||||
class CreateTextMask:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user