Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何设置能把生成的人像再大一些呢? #35

Closed
zhang565055965 opened this issue Mar 23, 2023 · 3 comments
Closed

如何设置能把生成的人像再大一些呢? #35

zhang565055965 opened this issue Mar 23, 2023 · 3 comments

Comments

@zhang565055965
Copy link

如何设置能把生成的人像再大一些呢?稍微露出多一些肩膀也好,有时只有头和膀子

@Divyesh-Nakrani
Copy link

agree if we insert full image and return with face expression and other part also some moment then its very good thing

@2793145003
Copy link

2793145003 commented Mar 23, 2023

只要把这里
https://github.com/Winfredy/SadTalker/blob/df0be73c6b24975438b98a6e4bb7ce7928505a8c/src/utils/preprocess.py#L84
改成False手动crop就行了……
但脑袋之外的部分越多结果越扭曲……

@vinthony
Copy link
Collaborator

vinthony commented Mar 29, 2023

增加了resize mode 的选项, 可以处理相对大的人像crop, 这种用法和数据集的训练有关,所以不能保证生成的质量,同时这里为了加速,gfpgan的增强采用crop align之后的。所以不能保证生成图像的清晰度,倾向于自己重新后处理。

art_0.bus_chinese_enhanced.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants