mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-16 08:14:32 +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:
|
if binary_mask:
|
||||||
results = results.round()
|
results = results.round()
|
||||||
|
|
||||||
|
del outputs, tensor, tensor_thresholded, tensor_normalized, resized_tensor, images
|
||||||
|
torch.cuda.empty_cache()
|
||||||
|
|
||||||
return results,
|
return results,
|
||||||
|
|
||||||
class CreateTextMask:
|
class CreateTextMask:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user