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

[Bug]: ocr.py “if False and ort.get_device() == "GPU":“ should be or #802

Open
1 task done
EakAip opened this issue May 16, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@EakAip
Copy link

EakAip commented May 16, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch name

deepdoc

Commit ID

vwvwva

Other environment information

4090

Expected behavior

OCR.py “if False and ort.get_device() == "GPU":“ should be or

@EakAip EakAip added the bug Something isn't working label May 16, 2024
@JinHai-CN JinHai-CN changed the title [Bug]: ocr.py中 “if False and ort.get_device() == "GPU":“ 应该使用 or [Bug]: ocr.py “if False and ort.get_device() == "GPU":“ should be or May 16, 2024
@KevinHuSh
Copy link
Collaborator

I discovered that onnx-runtime didn't support GPU well.
So, if you want to try it, just remove the 'False' and let it use GPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants