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

想請問crop函式中up ratio, down ratio跟width ration的設置 及 數值設置的用意 #7

Open
secondlevel opened this issue Dec 17, 2022 · 3 comments

Comments

@secondlevel
Copy link

您好:

不好意思想請問作者face detection設置up ratio, down ratio跟width ratio的用意? 以及這個參數數值是如何訂的呢?

因為我將其他人臉資料集作為測試集時,發現經過這些ratio反而會對face detection產生反效果。例如本來抓到的bounding box是正常的,但經過ratio校正後bounding box偵測到的人臉區塊反而會偏移許多,如下圖所示人臉的部分反而抓的不多。

因此想詢問作者這些參數該如何設置,或是可以去除這些參數設置嗎? 目前我是拿video的人臉資料集套github方法。首先是遇到這個問題,但不知道該怎麼設置參數比較好(或是不知道是否可以拔除這個部份),也不知道參數設置的用意。

示意圖

謝謝作者的回覆

@secondlevel
Copy link
Author

補充詢問

作者您好,我想請問當前EleGANt在用pretrained weight inference(testing)的時候是不是不支援98個或106個facial landmarks? 如需要讓模型支援98或106個landmarks的話,是否只需要修改preprocess, Position_Embedding兩個function?

非常謝謝作者的回覆

Best regards,

@aprillysea
Copy link

请问lms文件是怎么生成的,可以提供一下吗

@vicentowang
Copy link

vicentowang commented Oct 23, 2023

width
应该是这里代码写错了, 应该是 face_width
image

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

3 participants