mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 13:32:36 +08:00
bug fix
This commit is contained in:
parent
1d7bb7bae6
commit
ea3063527b
2
nodes.py
2
nodes.py
@ -1351,7 +1351,7 @@ class LoadImage:
|
|||||||
mask1[0, :, :, 0] = mask
|
mask1[0, :, :, 0] = mask
|
||||||
mask1[0, :, :, 1] = mask
|
mask1[0, :, :, 1] = mask
|
||||||
mask1[0, :, :, 2] = mask
|
mask1[0, :, :, 2] = mask
|
||||||
smooth_image = smooth_image * mask
|
smooth_image = smooth_image * mask1
|
||||||
mask = 1.0 - mask
|
mask = 1.0 - mask
|
||||||
else:
|
else:
|
||||||
mask = torch.zeros((64,64), dtype=torch.float32, device="cpu")
|
mask = torch.zeros((64,64), dtype=torch.float32, device="cpu")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user