Moore-AnimateAnyone icon indicating copy to clipboard operation
Moore-AnimateAnyone copied to clipboard

how can i return just inference video

Open leejaewoo opened this issue 1 year ago • 2 comments

Currently, in the code that generates the final video, the original image, pose video, and generated video are created in a grid. If I want to make only the final generated video a video file, how should I modify the code?

leejaewoo avatar Apr 02 '24 09:04 leejaewoo

you can change pose2vid.py: video = pipe( ref_image_pil, pose_list, width, height, len(pose_list), args.steps, args.cfg, generator=generator, ).videos save_videos_grid( video, f"{save_dir}/{ref_name}{pose_name}{args.H}x{args.W}{int(args.cfg)}{time_str}_animate.mp4", n_rows=1, fps=src_fps if args.fps is None else args.fps, )

wangxr1999 avatar Apr 07 '24 07:04 wangxr1999

thank you

leejaewoo avatar Apr 08 '24 06:04 leejaewoo