You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sorry if I am rude, stupid, and my bad English,
I tried this "program" because I tried other "programs" but "failed" read Chinese characters
I am quite a newbie and I use windows 10, and I have some questions:
A. does CUDA 9.0 necessary to install?, I tried to install it but it requires visual-studio, and I don't know what I must di next
B. where I must put "best_accuracy_0823.pth"?
C. where I must edit :
D. "change config.py file and run", what I must change in config.py?
E. I do this code and the result is below, can you help me, please?
C:\Users\GIGABYTE\AppData\Local\Programs\Python\Python39\Scripts\OCR>C:\Users\GIGABYTE\AppData\Local\Programs\Python\Python39\Scripts\OCR\infer.py C:\Users\GIGABYTE\AppData\Local\Programs\Python\Python39\Scripts\OCR\demo_images\demo_0.jpg
Traceback (most recent call last):
File "C:\Users\GIGABYTE\AppData\Local\Programs\Python\Python39\Scripts\OCR\infer.py", line 124, in <module>
opt = ConfigOpt()
File "C:\Users\GIGABYTE\AppData\Local\Programs\Python\Python39\Scripts\OCR\config.py", line 31, in __init__
self.character = self.get_character()
File "C:\Users\GIGABYTE\AppData\Local\Programs\Python\Python39\Scripts\OCR\config.py", line 40, in get_character
for line in charf:
File "C:\Users\GIGABYTE\AppData\Local\Programs\Python\Python39\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 22: character maps to <undefined>
F. is this "program" have a "pre-trained model" or do I need to train it myself?
thanks for reading, and have a nice day
The text was updated successfully, but these errors were encountered:
sorry if I am rude, stupid, and my bad English,
I tried this "program" because I tried other "programs" but "failed" read Chinese characters
I am quite a newbie and I use windows 10, and I have some questions:
A. does CUDA 9.0 necessary to install?, I tried to install it but it requires visual-studio, and I don't know what I must di next
B. where I must put "best_accuracy_0823.pth"?
C. where I must edit :
D. "change config.py file and run", what I must change in config.py?
E. I do this code and the result is below, can you help me, please?
F. is this "program" have a "pre-trained model" or do I need to train it myself?
thanks for reading, and have a nice day
The text was updated successfully, but these errors were encountered: