加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
x-anylabeling-linux-gpu.spec 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
# -*- mode: python -*-
# vim: ft=python
import sys
a = Analysis(
['anylabeling/app.py'],
pathex=['anylabeling'],
binaries=[],
datas=[
('anylabeling/configs/auto_labeling/*.yaml', 'anylabeling/configs/auto_labeling'),
('anylabeling/configs/*.yaml', 'anylabeling/configs'),
('anylabeling/views/labeling/widgets/auto_labeling/auto_labeling.ui', 'anylabeling/views/labeling/widgets/auto_labeling'),
('anylabeling/services/auto_labeling/configs/bert/*', 'anylabeling/services/auto_labeling/configs/bert'),
('anylabeling/services/auto_labeling/configs/clip/*', 'anylabeling/services/auto_labeling/configs/clip'),
('anylabeling/services/auto_labeling/configs/ppocr/*', 'anylabeling/services/auto_labeling/configs/ppocr'),
('anylabeling/services/auto_labeling/configs/ram/*', 'anylabeling/services/auto_labeling/configs/ram'),
('/home/cvhub/miniconda3/envs/x-anylabeling-gpu/lib/python3.8/site-packages/onnxruntime/capi/libonnxruntime_providers_cuda.so', 'onnxruntime/capi'),
('/home/cvhub/miniconda3/envs/x-anylabeling-gpu/lib/python3.8/site-packages/onnxruntime/capi/libonnxruntime_providers_shared.so', 'onnxruntime/capi'),
],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
)
pyz = PYZ(a.pure, a.zipped_data)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='X-Anylabeling-Linux-GPU',
debug=False,
strip=False,
upx=False,
runtime_tmpdir=None,
console=False,
icon='anylabeling/resources/images/icon.icns',
)
app = BUNDLE(
exe,
name='X-AnyLabeling.app',
icon='anylabeling/resources/images/icon.icns',
bundle_identifier=None,
info_plist={'NSHighResolutionCapable': 'True'},
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化