-
Notifications
You must be signed in to change notification settings - Fork 263
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
inference problem #21
Comments
It calculates scale, center_w, center_h depends groudth of points.But if we just want to do inference an image without groundth info, this algorithm how to work?Because we can not get scale, center_w, center_h. |
Maybe you need a face detector to locate the target face and then feed its location into network |
@lfxx It can not do like this way.You can try use a detector to get box and scale.Then you can find the points of landmark is not right. |
Do you mean that inference single image in wild?Use a detector to get the target face's location is useful.Here is my scrpts ,let me know if it works!@flynnamy
At the same time,modify the line 79 of evaluation.py as follows:
|
@lfxx Yes,I mean inference an image in wild.In you scripts, you use box and scale depends on points groudtruth I know it works well.But if you do not know the information of box and scale,how to get accurate box and scale?If you use a detetcor to get these,Which detector d you use? |
@lfxx Any solutions to do inference without know accurate box and scale?Even using detector,it will get large difference and I have tried. |
I use RetinaFace to detect face,then feed the result into net ,it works well! |
@lfxx Please try wflw model,I tried this with retinaface and a wild image.It failed! Please let me you know if it works! |
Fix this BUG,have a try~
|
@lfxx I made a mistake of scale calculation and it works.Thanks for your reply! |
@lfxx Would it be possible for you to add this as a demo or evaluation script in the project? It will be helpful for anyone who wants to try the model for quick try. However, thanks for this script :) |
It shows that the results is good in dataset,but it depends on scale, center_w, center_h.If I want to do inference of an image without information of scale, center_w, center_h, how do I get scale and center_w,center_h accurately.if these variable are not accurate,the landmark is not good.So I must get accurate scale, center_w and center_h. Any suggestions?
The text was updated successfully, but these errors were encountered: