mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-03 07:17:05 +08:00
'save'
This commit is contained in:
parent
fdb191c1e6
commit
a7794c141e
@ -1218,8 +1218,8 @@ class WAN21(BaseModel):
|
|||||||
print(f"image shape: {image.shape}, mask shape: {mask.shape}")
|
print(f"image shape: {image.shape}, mask shape: {mask.shape}")
|
||||||
res = torch.cat((mask, image), dim=1)
|
res = torch.cat((mask, image), dim=1)
|
||||||
tracks = kwargs.get("tracks", None)
|
tracks = kwargs.get("tracks", None)
|
||||||
# if tracks is not None:
|
if tracks is not None:
|
||||||
# res = patch_motion(tracks.to(device), res[0], 220.0, (4, 16), 2)[None]
|
res = patch_motion(tracks.to(device), res[0], 220.0, (4, 16), 2)[None]
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user