Paddle OCR 串联推理报错!
--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0 paddle::framework::SignalHandle(char const*, int)
1 paddle::platform::GetCurrentTraceBackString[abi:cxx11]()
----------------------
Error Message Summary:
----------------------
FatalError: `Segmentation fault` is detected by the operating system.
[TimeInfo: *** Aborted at 1631941711 (unix time) try "date -d @1631941711" if you are using GNU date ***]
[SignalInfo: *** SIGSEGV (@0x0) received by PID 4909 (TID 0x7f1613be0740) from PID 0 ***]
解决方案 :
cuda10.2 的要 安装cudnn 7的版本
11.2的 安装 8.0的版本
换了 版本还是显示8.0 果断
换为 paddle 11.2的
python -m pip install paddlepaddle-gpu==2.1.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
重新预测 成功输出了