mirror of
https://github.com/THUDM/CogVideo.git
synced 2025-11-15 22:42:10 +08:00
Merge pull request #336 from sculmh/patch-1
fix: unexpected num_frames during v2v inference
This commit is contained in:
commit
628f736628
@ -133,7 +133,7 @@ def generate_video(
|
||||
video=video, # The path of the video to be used as the background of the video
|
||||
num_videos_per_prompt=num_videos_per_prompt,
|
||||
num_inference_steps=num_inference_steps,
|
||||
num_frames=49,
|
||||
# num_frames=49,
|
||||
use_dynamic_cfg=True,
|
||||
guidance_scale=guidance_scale,
|
||||
generator=torch.Generator().manual_seed(seed), # Set the seed for reproducibility
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user