OMP_NUM_THREADS set to 8, not 1. The computation speed will not be optimized if you use data parallel. It will fail if this PaddlePaddle binary is compiled with OpenBlas since OpenBlas does not support multi-threads. #15872
shao12230302
started this conversation in
General
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
其他都是最新下载的python3.10 paddlepaddle3.02 paddleOCR3.0 识别时报这个错误,大佬帮看下是系统的问题还是什么原因, 有什么好的解决方案。 另外说明一点,在我windows 本地是正常的。用的也是CPU的版本 |
Beta Was this translation helpful? Give feedback.
0 replies
-
paddleocr 3.0.2存在一个bug,会导致mkl-dnn无法被正常启用,而如果不使用mkl-dnn的话,对于尺寸较大的图,可能会推理失败,出现截图里的错误(这是paddle框架的一个bug)。建议尝试升级到paddleocr最新版本~ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
正在处理文件: /home/ocr/测试-1.pdf, 总页数: 1

正在处理第 1 页...
WARNING: OMP_NUM_THREADS set to 8, not 1. The computation speed will not be optimized if you use data parallel. It will fail if this PaddlePaddle binary is compiled with OpenBlas since OpenBlas does not support multi-threads.
PLEASE USE OMP_NUM_THREADS WISELY.
Creating model: ('PP-LCNet_x1_0_doc_ori', None)
Using official model (PP-LCNet_x1_0_doc_ori), the model files will be automatically downloaded and saved in /root/.paddlex/official_models.
Creating model: ('UVDoc', None)
Using official model (UVDoc), the model files will be automatically downloaded and saved in /root/.paddlex/official_models.
Creating model: ('PP-LCNet_x1_0_textline_ori', None)
Using official model (PP-LCNet_x1_0_textline_ori), the model files will be automatically downloaded and saved in /root/.paddlex/official_models.
Creating model: ('PP-OCRv5_server_det', None)
Using official model (PP-OCRv5_server_det), the model files will be automatically downloaded and saved in /root/.paddlex/official_models.
Creating model: ('PP-OCRv5_server_rec', None)
Using official model (PP-OCRv5_server_rec), the model files will be automatically downloaded and saved in /root/.paddlex/official_models.
/home/aiocr.py:163: DeprecationWarning: Please use
predict
instead.result = ocr.ocr(img)
Beta Was this translation helpful? Give feedback.
All reactions