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

Error #1

Open
OzgunKB opened this issue May 20, 2019 · 1 comment
Open

Error #1

OzgunKB opened this issue May 20, 2019 · 1 comment

Comments

@OzgunKB
Copy link

OzgunKB commented May 20, 2019

running in loop through while command
run status is: 0
deleting photos from recognition/temp_photos if any
'cleaner.exe' is not recognized as an internal or external command,
operable program or batch file.
finding contour and writing photos
running find_number.py, to recognize the numbers
error, unable to open classifications_for_questions.txt, exiting program

Press any key to continue . . .

@imneonizer
Copy link
Owner

imneonizer commented May 21, 2019

Cleaner.exe is just a small work around of windows batch file which is called to in between to delete the old residual temp photos if any.
And classification_for_questions.txt stores the weights of the training.
You must be running the main file from some other locations due to which it is unable to find the those two files. i.e., 'cleaner.exe' and 'classifications_for_questions.txt' try to re-run the code from the native directory or you can replace the path to these files so that at the run time it python is able to reach out to those directory.
In my case i used "idle" to run the code. And it was working fine.

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