Facenet: AttributeError: 'SVC' object has no attribute 'probability'

Created on 29 Aug 2018  路  12Comments  路  Source: davidsandberg/facenet

when i run real_time_face_recognition.py using windows 10,it occurred the problem
AttributeError: 'SVC' object has no attribute 'probability'
did someone met the problem? how to slove it?
tks

Most helpful comment

AttributeError: 'SVC' object has no attribute '_probA'

All 12 comments

Can u tell me how to solve it?

I meet the same issue

I also had the same error

AttributeError: 'SVC' object has no attribute '_probA'

What is the solution of this problem?

I have fixed it by retraining again the classifier

@glennford49 would you mind sharing your classifier please, if you won't have any problem?

Error: AttributeError: 'SVC' object has no attribute '_probA'
Solution in my case:
The version of trained model scikit-learn and prediction model scikit-learn were different.
I made them same to both 0.22.1, and things worked as expected.

Error: AttributeError: 'SVC' object has no attribute '_probA'
Solution in my case:
The version of trained model scikit-learn and prediction model scikit-learn were different.
I made them same to both 0.22.1, and things worked as expected.

please can you explain exactly how to do this?

Error: AttributeError: 'SVC' object has no attribute '_probA'
Solution in my case:
The version of trained model scikit-learn and prediction model scikit-learn were different.
I made them same to both 0.22.1, and things worked as expected.

Would love to know how you solved this issue.
Facing the same issue atm.

Why would one retrain the model if you have already saved the model using pickle?

Error: AttributeError: 'SVC' object has no attribute '_probA'
Solution in my case:
The version of trained model scikit-learn and prediction model scikit-learn were different.
I made them same to both 0.22.1, and things worked as expected.

Can you please guide us on how to do it?

Was this page helpful?
0 / 5 - 0 ratings