mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-02 21:27:12 +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}")
|
||||
res = torch.cat((mask, image), dim=1)
|
||||
tracks = kwargs.get("tracks", None)
|
||||
# if tracks is not None:
|
||||
# res = patch_motion(tracks.to(device), res[0], 220.0, (4, 16), 2)[None]
|
||||
if tracks is not None:
|
||||
res = patch_motion(tracks.to(device), res[0], 220.0, (4, 16), 2)[None]
|
||||
|
||||
return res
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user