mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-03 00:17:08 +08:00
scale image
This commit is contained in:
parent
7899fb868c
commit
78c52aac5f
@ -656,7 +656,7 @@ class WanTrackToVideo:
|
||||
|
||||
zero_frames = torch.zeros(3, 81 - 1, height, width)
|
||||
|
||||
start_image = start_image.permute(3,0,1,2) # C, T, H, W
|
||||
start_image = start_image.permute(3,0,1,2) * 2 - 1 # C, T, H, W
|
||||
res = torch.concat([
|
||||
start_image.to(start_image.device),
|
||||
zero_frames
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user