Skip to content

Commit

Permalink
修复打包后directml错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
SkeathyTomas committed May 28, 2024
1 parent 6746d2b commit 3491908
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@


block_cipher = None
from PyInstaller.utils.hooks import collect_dynamic_libs
binaries= collect_dynamic_libs('onnxruntime', destdir='onnxruntime/capi')


a = Analysis(
['app.py'],
pathex=[],
binaries=[],
binaries=binaries,
datas=[('src', 'src')],
hiddenimports=[],
hookspath=[],
Expand Down

0 comments on commit 3491908

Please sign in to comment.