mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 14:16:57 +00:00
fixed fun inp models crash
This commit is contained in:
parent
3983715eec
commit
50914b791e
@ -504,7 +504,7 @@ class WanAny2V:
|
|||||||
timestep_injection = False
|
timestep_injection = False
|
||||||
lat_frames = int((frame_num - 1) // self.vae_stride[0]) + 1
|
lat_frames = int((frame_num - 1) // self.vae_stride[0]) + 1
|
||||||
# image2video
|
# image2video
|
||||||
if model_type in ["i2v", "i2v_2_2", "fantasy", "multitalk", "flf2v_720p"]:
|
if model_type in ["i2v", "i2v_2_2", "fun_inp_1.3B", "fun_inp", "fantasy", "multitalk", "flf2v_720p"]:
|
||||||
any_end_frame = False
|
any_end_frame = False
|
||||||
if image_start is None:
|
if image_start is None:
|
||||||
_ , preframes_count, height, width = input_video.shape
|
_ , preframes_count, height, width = input_video.shape
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user