-
Notifications
You must be signed in to change notification settings - Fork 10
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
RuntimeWarning in pca.py #2
Comments
Not really, I forked eigenfaces from https://github.com/antonyross/eigenfaces. |
Ok thank you :) |
Do you looked this file :) .... Any news? |
Yes, the problem lays here https://github.com/povilasb/face-recognition/blob/master/facerecognition/eigenfaces/pca.py#L23 Basically I try to do square root for
but one of The easiest wayt to fix this would be to |
Yes I am now test your case. If I put |
Hi,
When you start program in the pca.py I see error RuntimeWarning
RuntimeWarning: invalid value encountered in sqrt
S = np.sqrt(e[::-1]) # reverse since eigenvalues are in increasing order
https://github.com/povilasb/eigenfaces/blob/11f93098eabd4f16d21f40eb5173628eec9d6bef/pca.py#L23
Do you know how to fix that. This is not critical bug :)
The text was updated successfully, but these errors were encountered: