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

Get face landmark returns "No face" #3

Closed
AndreasAakerberg opened this issue Aug 10, 2020 · 2 comments
Closed

Get face landmark returns "No face" #3

AndreasAakerberg opened this issue Aug 10, 2020 · 2 comments

Comments

@AndreasAakerberg
Copy link

I tried running the get_face_landmark.py on the supplied test images but the script returns "#########No face" for all images.

@csxmli2016
Copy link
Owner

I tried running the get_face_landmark.py on the supplied test images but the script returns "#########No face" for all images.

Hi, this is caused by running face_alignment. Please make sure that you install this code successfully.

cd ./FaceLandmarkDetection
python setup.py install

And then

python get_face_landmark.py

This works successfully in my computer. If it still does not work, please refer to the original code.

@AndreasAakerberg
Copy link
Author

Found the issue: My pytorch installation was not compiled with LAPACK. By debugging i found that i got an exception in torch.inverse(t) in the utils.py file in the FaceDetection module.

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

2 participants