mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 14:16:57 +00:00
fixed continue video with i2v
This commit is contained in:
parent
178f3b2fdc
commit
43c8d2bc27
@ -537,7 +537,7 @@ class WanAny2V:
|
||||
image_ref = convert_image_to_tensor(input_ref_images[ min(window_no, len(input_ref_images))-1 ])
|
||||
if new_shot and window_no <= len(input_ref_images):
|
||||
input_video = image_ref.unsqueeze(1)
|
||||
_ , preframes_count, height, width = input_video.shape
|
||||
_ , preframes_count, height, width = input_video.shape
|
||||
input_video = input_video.to(device=self.device).to(dtype= self.VAE_dtype)
|
||||
if infinitetalk:
|
||||
image_for_clip = image_ref.to(input_video)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user