PaddleOCR
PaddleOCR copied to clipboard
Can't Run the model on GPU,but CPU is fine. (error code is 126)
问题描述 / Problem Description
运行环境 / Runtime Environment
- OS:windows
- Paddle:follow the quick start
- PaddleOCR:follow the quick start
复现代码 / Reproduction Code
皆按照quickstart的步驟進行
完整报错 / Complete Error Message
Traceback (most recent call last):
File "C:\Users\USER\Desktop\ppocr_img\test2.py", line 173, in
- Check if the third-party dynamic library (e.g. CUDA, CUDNN) is installed correctly and its version is matched with paddlepaddle you installed.
- Configure third-party dynamic library environment variables as follows:
- Linux: set LD_LIBRARY_PATH by
export LD_LIBRARY_PATH=...
- Windows: set PATH by `set PATH=XXX; (at ..\paddle\phi\backends\dynload\dynamic_loader.cc:312)
可能解决方案 / Possible solutions
照著教學的進行,在anaconda環境中載了 pip install paddlepaddle-gpu pip install paddleocr 但還是無法順利在gpu上運行,cpu是可以正常運行的。 Follow the quick start, I install these thing in anaconda pip install paddlepaddle-gpu pip install paddleocr but the model still can't run on gpu, its ok to run on cpu