在做chinese_ocr时读取显示
错误:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 6: invalid start byte
百度试了很多方法都不行,后来想到可能是作者上传的文件本身就是损坏的,于是找了另一个项目(GitHub - YCG09/chinese_ocr: CTPN + DenseNet + CTC based end-to-end Chinese OCR implemented using tensorflow and keras)下载char_set_5990.txt文件,就解决了。
本文解决了一个在使用chinese_ocr时遇到的UnicodeDecodeError问题,错误提示为'utf-8'codec can't decode byte 0xa3 in position 6: invalid start byte。尝试多种方法未果后,通过更换下载来源,使用GitHub上的另一个项目提供的char_set_5990.txt文件成功解决了问题。
678

被折叠的 条评论
为什么被折叠?



