mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-13 07:40:50 +08:00
Merge branch 'comfyanonymous:master' into master
This commit is contained in:
commit
a781d88b64
@ -50,5 +50,5 @@ def image_alpha_fix(destination, source):
|
||||
source = source[...,:destination.shape[-1]]
|
||||
elif destination.shape[-1] > source.shape[-1]:
|
||||
destination = torch.nn.functional.pad(destination, (0, 1))
|
||||
destination[..., -1] = source[..., -1]
|
||||
destination[..., -1] = 1.0
|
||||
return destination, source
|
||||
|
||||
Loading…
Reference in New Issue
Block a user