aakashjhawar/face-recognition-using-deep-learning

sklearn.svm.classes error

Opened this issue · 6 comments

"recognize_video.py", line 22, in
recognizer = pickle.loads(open("output/recognizer.pickle", "rb").read())
ModuleNotFoundError: No module named 'sklearn.svm.classes'

Same issue. Mismatch between sklearn version. Can you please give the sklearn version originally used?

Changing line 26 of train_model.py to this fixed it

f = open("output/recognizer.pickle", "wb")

Ok, Thank You !!

Same issue. Mismatch between sklearn version. Can you please give the sklearn version originally used?

+1

Changing line 26 of train_model.py to this fixed it

f = open("output/recognizer.pickle", "wb")

Still not working

Changing line 26 of train_model.py to this fixed it

f = open("output/recognizer.pickle", "wb")

Thanks it worked out for me