Replies: 9 comments 1 reply
-
cc: @michaelowenliu |
Beta Was this translation helpful? Give feedback.
-
建议使用openvino后端试试 |
Beta Was this translation helpful? Give feedback.
-
一模一样 paddleocr 2.7.0.3
|
Beta Was this translation helpful? Give feedback.
-
I downgraded the version of paddlepaddle to 2.5.2 and the issue was solved 降低 paddlepaddle的版本到2.5.2,问题解决 |
Beta Was this translation helpful? Give feedback.
-
一毛一样, ubuntu ,proxmox paddleocr --image_dir ./testocr.png C++ Traceback (most recent call last):0 paddle_infer::Predictor::Predictor(paddle::AnalysisConfig const&) Error Message Summary:FatalError: |
Beta Was this translation helpful? Give feedback.
-
解决了,要用python3.7,并且proxmox的vm要直通cpu(host).参考这个 |
Beta Was this translation helpful? Give feedback.
-
1.实体机亲测可以解决,2.虚拟机在跑demo文件时,如果使用for循环ocr.ocr识别完成后貌似不会释放内存,连续识别图像,前几张可以,后几张报错“Process finished with exit code 137 (interrupted by signal 9:SIGKILL)”。 内存不足杀进程了 |
Beta Was this translation helpful? Give feedback.
-
实测发现在多台机器上,如果是在虚拟环境中, 则会复现该错误, 如果不在虚拟环境中,就可以正常执行 |
Beta Was this translation helpful? Give feedback.
-
按照这里的说明,用最新版后,问题修复成功了 pip install paddlepaddle==3.0.0b2 --upgrade |
Beta Was this translation helpful? Give feedback.
-
我的电脑是CPU的环境,网上搜索了很多材料都没有找到相关解决办法,通过运行如下:
import paddle
paddle.utils.run_check()
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.
可以看到 PaddlePaddle 已经安装成功了,但 PaddleOCR 跑步起来就报错:
from paddleocr import PaddleOCR, draw_ocr
ocr = PaddleOCR(use_angle_cls=True, lang="ch")
运行以上代码,报错信息如下:
Error Message Summary:
FatalError:
Illegal instruction
is detected by the operating system.[TimeInfo: *** Aborted at 1709025734 (unix time) try "date -d @1709025734" if you are using GNU date ***]
[SignalInfo: *** SIGILL (@0x7f278b41e86a) received by PID 44052 (TID 0x7f2792799000) from PID 18446744071750936682 ***]
另外,使用:cat /proc/cpuinfo | grep avx2,可以看出我的电脑是支持该指令的。
Beta Was this translation helpful? Give feedback.
All reactions