mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-22 12:37:04 +08:00
debug
This commit is contained in:
parent
e9f9a50d6e
commit
1d7bb7bae6
2
nodes.py
2
nodes.py
@ -1342,7 +1342,7 @@ class LoadImage:
|
||||
image = np.array(image).astype(np.float32) / 255.0
|
||||
image = torch.from_numpy(image)[None,]
|
||||
|
||||
smooth_image = image.copy()
|
||||
smooth_image = image.detach().clone()
|
||||
if 'A' in i.getbands():
|
||||
mask = np.array(i.getchannel('A')).astype(np.float32) / 255.0
|
||||
mask = torch.from_numpy(mask)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user