Skip to content

windows下 使用gpu无法识别 全是none 将usegpu设置为false就可以正常使用 #15078

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
iyangiii opened this issue Apr 28, 2025 · 6 comments
Open
3 tasks done
Assignees

Comments

@iyangiii
Copy link

🔎 Search before asking

  • I have searched the PaddleOCR Docs and found no similar bug report.
  • I have searched the PaddleOCR Issues and found no similar bug report.
  • I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

windows下 使用gpu无法识别 全是none 将usegpu设置为false就可以正常使用

🏃‍♂️ Environment (运行环境)

OS windows 10
python 3.10.10
gpu rtx5080
cpu 9800x3d
cuda 12.9
paddle已安装gpu版本

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

以下是我的代码
from paddleocr import PaddleOCR, draw_ocr
ocr = PaddleOCR(use_angle_cls=True, lang='ch') # need to run only once to download and load model into memory
img_path = '.\material\test\test.jpg'
result = ocr.ocr(img_path, cls=True)
for idx in range(len(result)):
res = result[idx]
for line in res:
print(line)

@SWHL
Copy link
Collaborator

SWHL commented Apr 28, 2025

paddlepaddle安装3.0.0的gpu版本试试呢

@TingquanGao TingquanGao self-assigned this Apr 28, 2025
@cuicheng01
Copy link
Collaborator

请确保的你的drvier是可以满足你下载的cuda版本的paddle哈

@Whitefish-by
Copy link

我也遇到了这个问题。
我安装的是 paddlepaddle-gpu==3.0.0 cu126,
GPU:RTX5070ti
CUDA:12.8

这个驱动应该可以满足cu126吧,我现在使用了gpu之后,输出全是none或者是乱码。

@liyichu17
Copy link

一样。
我安装也是 paddlepaddle-gpu==3.0.0 cu126,
GPU:RTX5070
CUDA:12.8

输出也一样是none或者乱码。

@harshp682
Copy link

I am facing the same problem and it is something to do with compute capability being 12.0

If anyone found solution do let me know

@supersoho
Copy link

5070TI 一样的问题,据说是还不支持50系显卡,希望官方尽快适配!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants