Moore-AnimateAnyone
Moore-AnimateAnyone copied to clipboard
how can i return just inference video
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?
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, )
thank you