From 78c52aac5f872c775ccec770a83817e0281ee8b7 Mon Sep 17 00:00:00 2001 From: Eugene Fairley Date: Fri, 27 Jun 2025 13:34:22 -0700 Subject: [PATCH] scale image --- comfy_extras/nodes_wan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_extras/nodes_wan.py b/comfy_extras/nodes_wan.py index 1601968d9..840b49418 100644 --- a/comfy_extras/nodes_wan.py +++ b/comfy_extras/nodes_wan.py @@ -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