We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am running this code to extract the features of word written in hindi using Spyder but it is showing me the error:
File "G:/devanagari_ocr-master/honey/code.py", line 50, in batch_extractor pickle.dump(result, fp)
TypeError: write() argument must be str, not bytes
Please resolve this asap
The text was updated successfully, but these errors were encountered:
If you are python3 you can do this.
with open(pickled_db_path,'wb') as fp: pickle.dump(result,fp)
Likewise, the same goes for reading.
with open(pickled_db_path,'rb') as fp : self.data = pickle.load(fp)
Sorry, something went wrong.
No branches or pull requests
I am running this code to extract the features of word written in hindi using Spyder but it is showing me the error:
File "G:/devanagari_ocr-master/honey/code.py", line 50, in batch_extractor
pickle.dump(result, fp)
TypeError: write() argument must be str, not bytes
Please resolve this asap
The text was updated successfully, but these errors were encountered: