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

recognizer.pickle #7

Open
nahomneg opened this issue Nov 26, 2020 · 2 comments
Open

recognizer.pickle #7

nahomneg opened this issue Nov 26, 2020 · 2 comments

Comments

@nahomneg
Copy link

Thank you for this amazing repository.
I have found out that directly cloning and running the code results in unexpected behaviors (sometimes crashes). This is a result of the .pickle extension being omitted on line that dumps the recognizer into the output folder.
Please update line 26 of the train_model.py file to the following

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

@Nouman945
Copy link

Hey. Did you find the solution?

@nahomneg
Copy link
Author

Hey. Did you find the solution?

Yes it worked for me after changing line 26 to

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

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