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

sklearn.svm.classes error #10

Open
PRAJWAL2108 opened this issue Mar 11, 2022 · 6 comments
Open

sklearn.svm.classes error #10

PRAJWAL2108 opened this issue Mar 11, 2022 · 6 comments

Comments

@PRAJWAL2108
Copy link

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

@PavithranRick
Copy link

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

@PavithranRick
Copy link

PavithranRick commented Apr 19, 2022

Changing line 26 of train_model.py to this fixed it

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

@PRAJWAL2108
Copy link
Author

Ok, Thank You !!

@himudigonda
Copy link

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

+1

@SuchintK
Copy link

Changing line 26 of train_model.py to this fixed it

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

Still not working

@8999904177
Copy link

8999904177 commented Jan 22, 2023

Changing line 26 of train_model.py to this fixed it

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

Thanks it worked out for me

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

5 participants