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

pyinstaller问题 #189

Closed
WwwwwyDev opened this issue May 22, 2024 · 1 comment
Closed

pyinstaller问题 #189

WwwwwyDev opened this issue May 22, 2024 · 1 comment

Comments

@WwwwwyDev
Copy link

WwwwwyDev commented May 22, 2024

使用pyinstaller将依赖于ddddocr的python文件编译成二进制后,会无法找到模型
错误信息如下:

Traceback (most recent call last):
  File "ddddocr/__init__.py", line 2416, in __init__
  File "onnxruntime/capi/onnxruntime_inference_collection.py", line 419, in __init__
  File "onnxruntime/capi/onnxruntime_inference_collection.py", line 452, in _create_inference_session
onnxruntime.capi.onnxruntime_pybind11_state.NoSuchFile: [ONNXRuntimeError] : 3 : NO_SUCHFILE : Load model from /var/folders/83/5txz098s1757g97_02c1jkd80000gn/T/_MEIDgSVaA/ddddocr/common_old.onnx failed:Load model /var/folders/83/5txz098s1757g97_02c1jkd80000gn/T/_MEIDgSVaA/ddddocr/common_old.onnx failed. File doesn't exist
@sml2h3
Copy link
Owner

sml2h3 commented Jun 17, 2024

不回答打包问题~

@sml2h3 sml2h3 closed this as completed Jun 17, 2024
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