From 7376ebfcf71ee3b6d04b28ee6d7ec03d2b6cb115 Mon Sep 17 00:00:00 2001 From: fanpt <320622572@qq.com> Date: Wed, 24 Jan 2024 13:28:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inference.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inference.py b/inference.py index 0343fb6..be3d4c0 100644 --- a/inference.py +++ b/inference.py @@ -115,9 +115,9 @@ def main(args): if __name__ == '__main__': parser = ArgumentParser() - parser.add_argument("--driven_audio", default='./examples/driven_audio/eluosi.wav', help="path to driven audio") - parser.add_argument("--source_image", default='./examples/source_image/full3.png', help="path to source image") - parser.add_argument("--ref_eyeblink", default=None, help="path to reference video providing eye blinking") + parser.add_argument("--driven_audio", default=r'E:\SadTalker\examples\driven_audio\tts_result_2.wav', help="path to driven audio") + parser.add_argument("--source_image", default=r'E:\SadTalker\examples\source_image\4.png', help="path to source image") + parser.add_argument("--ref_eyeblink", default=r'E:\SadTalker\examples\ref_video\2.mp4', help="path to reference video providing eye blinking") parser.add_argument("--ref_pose", default=None, help="path to reference video providing pose") parser.add_argument("--checkpoint_dir", default='./checkpoints', help="path to output") parser.add_argument("--result_dir", default='./results', help="path to output") @@ -131,7 +131,7 @@ if __name__ == '__main__': parser.add_argument('--background_enhancer', type=str, default=None, help="background enhancer, [realesrgan]") parser.add_argument("--cpu", dest="cpu", action="store_true") parser.add_argument("--face3dvis", action="store_true", help="generate 3d face and 3d landmarks") - parser.add_argument("--still", action="store_true", default=False, help="can crop back to the orginal videos for the full body aniamtion") + parser.add_argument("--still", action="store_true", default=True, help="can crop back to the orginal videos for the full body aniamtion") parser.add_argument("--preprocess", default='full', choices=['crop', 'resize', 'full'], help="how to preprocess the images" ) # net structure and parameters