KwaiVGI / LivePortrait

Bring portraits to life!
https://liveportrait.github.io
Other
12.09k stars 1.27k forks source link

inference config 的参数没有覆盖 argument_config #346

Open GoldenSpark opened 1 month ago

GoldenSpark commented 1 month ago

flag_normalize_lip 在inference_config.py中是True, 而argument_config里面是False。 运行python inferenc.py的时候,却是False

Mystery099 commented 1 month ago

Thanks for your feedback. @GoldenSpark

When reading the argument settings, those specified by the user in src/config/argument_config.py will update and override the ones in src/config/inference_config.py. Therefore, if you want to directly set the flag_normalize_lip argument as True through a file, you could do so in src/config/argument_config.py, or use the following instead of modifying it in the file:

python inference.py --flag_normalize_lip