mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-03 01:47:05 +08:00
Fix
This commit is contained in:
parent
67c4e7d98d
commit
37384d8d52
@ -544,7 +544,7 @@ class WanTrackToVideo:
|
|||||||
lat_h = height // 8
|
lat_h = height // 8
|
||||||
lat_w = width // 8
|
lat_w = width // 8
|
||||||
|
|
||||||
msk = torch.ones(1, latent.shape[2], lat_h, lat_w, device=start_image.device)
|
msk = torch.ones(1, length - 1, lat_h, lat_w, device=start_image.device)
|
||||||
msk[:, 1:] = 0
|
msk[:, 1:] = 0
|
||||||
|
|
||||||
# repeat first frame 4 times
|
# repeat first frame 4 times
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user