Skip to content
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

使用cpu没有问题,使用GPU报错 #64165

Open
orderer0001 opened this issue May 10, 2024 · 1 comment
Open

使用cpu没有问题,使用GPU报错 #64165

orderer0001 opened this issue May 10, 2024 · 1 comment
Assignees
Labels

Comments

@orderer0001
Copy link

orderer0001 commented May 10, 2024

请提出你的问题 Please ask your question

使用cpu没有问题,
ocr = PaddleOCR(use_angle_cls=True, lang="ch", page_num=PAGE_NUM)
使用GPU报错
ocr = PaddleOCR(use_angle_cls=True, lang="ch", page_num=PAGE_NUM,use_gpu=0)
FatalError: Illegal instruction is detected by the operating system.
[TimeInfo: *** Aborted at 1715312538 (unix time) try "date -d @1715312538" if you are using GNU date ***]
[SignalInfo: *** SIGILL (@0x7abb4abe18aa) received by PID 179144 (TID 0x7abbc2926440) from PID 1253972138 ***]
paddleocr的版本: 2.7.3
ubuntu:22.04
cuda:12.2
torch:2.3.0

@zhiboniu
Copy link
Contributor

你好,use_gpu默认为True,use_gpu=0时表示不适用gpu。看起来使用gpu情况下没有问题

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

No branches or pull requests

2 participants