Skip to content

同一套代码在ubuntu 平台不能运行. #15112

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
zoushucai opened this issue May 9, 2025 · 0 comments
Open
3 tasks done

同一套代码在ubuntu 平台不能运行. #15112

zoushucai opened this issue May 9, 2025 · 0 comments
Assignees

Comments

@zoushucai
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 (问题描述)

我把ch_PP-OCRv4_rec_infer 按照教程转为 onnx 模型, 然后使用 onnx 识别图片, 使用轻量版本没问题,能够正常使用, 后续我把 ch_PP-OCRv4_rec_server_infer 转为 onnx 模型, 然后使用 onnx 识别图片, 在 ubuntu 24.04 上出问题(i7-13700k), 基本上就是卡死,后续发现是太慢了,至少 1 分钟以上甚至更久, 我就一张简单的图片 , 但是我把 onnx 模型放到 mac m1 上, 结果能够正常运行, 基本上 5s 以内, 请问这怎么回事?

🏃‍♂️ Environment (运行环境)

ubuntu  24.01
i7 13700k

python  3.10

onnxruntime              1.21.1

python 环境和 mac m1 上一模一样.

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

@TingquanGao TingquanGao self-assigned this May 9, 2025
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

2 participants