mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-11 05:52:33 +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…
Reference in New Issue
Block a user