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

ImportError: DLL load failed while importing onnxruntime_pybind11_state: ダイナミック リンク ライブラリ (DLL) 初期化ルーチンの実行に失敗しました。 #52

Open
kaminaga528 opened this issue Jul 27, 2024 · 0 comments

Comments

@kaminaga528
Copy link

Python3.10.8、Git環境でrun_gui.ps1を実行したとき、下記のようなエラーが発生し起動することができません。
もし原因についてお心当たりあればご教授いただけますと幸いです。。。

PS D:\LayerDivider\layerdivider> ./run_gui.ps1
Traceback (most recent call last):
File "D:\LayerDivider\layerdivider\demo.py", line 6, in
from ldivider.ld_processor import get_base, get_normal_layer, get_composite_layer, get_seg_base
File "D:\LayerDivider\layerdivider\ldivider\ld_processor.py", line 10, in
from ldivider.bg_remover import get_foreground
File "D:\LayerDivider\layerdivider\ldivider\bg_remover.py", line 11, in
import onnxruntime as rt
File "D:\LayerDivider\layerdivider\venv\lib\site-packages\onnxruntime_init_.py", line 57, in
raise import_capi_exception
File "D:\LayerDivider\layerdivider\venv\lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "D:\LayerDivider\layerdivider\venv\lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
ImportError: DLL load failed while importing onnxruntime_pybind11_state: ダイナミック リンク ライブラリ (DLL) 初期化ルーチンの実行に失敗しました。

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

1 participant