1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Make ImagePadForOutpaint return a 3 channel mask. (#8157)

This commit is contained in:
comfyanonymous
2025-05-16 12:15:55 -07:00
committed by GitHub
parent 7046983d95
commit dc46db7aa4

View File

@@ -1940,7 +1940,7 @@ class ImagePadForOutpaint:
mask[top:top + d2, left:left + d3] = t
return (new_image, mask)
return (new_image, mask.unsqueeze(0))
NODE_CLASS_MAPPINGS = {