From 5e310c1ddfcc3eb6af102f5ac118aae00118acbc Mon Sep 17 00:00:00 2001 From: guojianzhu Date: Mon, 26 Aug 2024 11:50:53 +0800 Subject: [PATCH] chore: set flag_normalize_lip True by default --- src/config/argument_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/argument_config.py b/src/config/argument_config.py index 055f5f8..218c6af 100644 --- a/src/config/argument_config.py +++ b/src/config/argument_config.py @@ -22,7 +22,7 @@ class ArgumentConfig(PrintableConfig): flag_crop_driving_video: bool = False # whether to crop the driving video, if the given driving info is a video device_id: int = 0 # gpu device id flag_force_cpu: bool = False # force cpu inference, WIP! - flag_normalize_lip: bool = False # whether to let the lip to close state before animation, only take effect when flag_eye_retargeting and flag_lip_retargeting is False + flag_normalize_lip: bool = True # whether to let the lip to close state before animation, only take effect when flag_eye_retargeting and flag_lip_retargeting is False flag_source_video_eye_retargeting: bool = False # when the input is a source video, whether to let the eye-open scalar of each frame to be the same as the first source frame before the animation, only take effect when flag_eye_retargeting and flag_lip_retargeting is False, may cause the inter-frame jittering flag_eye_retargeting: bool = False # not recommend to be True, WIP; whether to transfer the eyes-open ratio of each driving frame to the source image or the corresponding source frame flag_lip_retargeting: bool = False # not recommend to be True, WIP; whether to transfer the lip-open ratio of each driving frame to the source image or the corresponding source frame