breezedeus / CnOCR

CnOCR: Awesome Chinese/English OCR Python toolkits based on PyTorch. It comes with 20+ well-trained models for different application scenarios and can be used directly after installation. 【基于 PyTorch/MXNet 的中文/英文 OCR Python 包。】
https://www.breezedeus.com/article/cnocr
Apache License 2.0
3.2k stars 498 forks source link

Raise up an #259

Closed YuanyangZhang closed 1 year ago

YuanyangZhang commented 1 year ago

[WARNING 2023-06-27 15:21:53,723 _assert_and_prepare_model_files:167] no onnx file is found in C:\Users\张远洋\AppData\Roaming\cnocr\2.2\densenet_lite_136-fc

requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))

Process finished with exit code 1

breezedeus commented 1 year ago

需要梯子。。模型自动下载使用的是HuggingFace的服务,但HuggingFace国内已被墙。具体参考:https://www.breezedeus.com/cnocr