Ervin Teng
5 年前
当前提交
4a4020bd
共有 2 个文件被更改,包括 81 次插入 和 0 次删除
|
|||
# -*- mode: python ; coding: utf-8 -*- |
|||
|
|||
block_cipher = None |
|||
|
|||
from PyInstaller.utils.hooks import collect_submodules |
|||
|
|||
hidden_imports = collect_submodules('tensorflow.contrib') |
|||
|
|||
added_files = [ |
|||
( 'config', 'config' ), |
|||
( 'demos', 'demos' ), |
|||
] |
|||
|
|||
a = Analysis(['ml-agents/mlagents/trainers/learn.py'], |
|||
pathex=['/Users/ervin/Development/ml-agents-develop'], |
|||
binaries=[], |
|||
datas=added_files, |
|||
hiddenimports=hidden_imports, |
|||
hookspath=[], |
|||
runtime_hooks=[], |
|||
excludes=[], |
|||
win_no_prefer_redirects=False, |
|||
win_private_assemblies=False, |
|||
cipher=block_cipher, |
|||
noarchive=False) |
|||
pyz = PYZ(a.pure, a.zipped_data, |
|||
cipher=block_cipher) |
|||
exe = EXE(pyz, |
|||
a.scripts, |
|||
[], |
|||
exclude_binaries=True, |
|||
name='mlagents-learn', |
|||
debug=False, |
|||
bootloader_ignore_signals=False, |
|||
strip=False, |
|||
upx=True, |
|||
console=True ) |
|||
coll = COLLECT(exe, |
|||
a.binaries, |
|||
a.zipfiles, |
|||
a.datas, |
|||
strip=False, |
|||
upx=True, |
|||
upx_exclude=[], |
|||
name='testonedir') |
|
|||
# -*- mode: python ; coding: utf-8 -*- |
|||
|
|||
block_cipher = None |
|||
|
|||
from PyInstaller.utils.hooks import collect_submodules |
|||
|
|||
hidden_imports = collect_submodules('tensorflow.contrib') |
|||
|
|||
a = Analysis(['ml-agents/mlagents/trainers/learn.py'], |
|||
pathex=['./'], |
|||
binaries=[], |
|||
datas=[], |
|||
hiddenimports=hidden_imports, |
|||
hookspath=[], |
|||
runtime_hooks=[], |
|||
excludes=[], |
|||
win_no_prefer_redirects=False, |
|||
win_private_assemblies=False, |
|||
cipher=block_cipher, |
|||
noarchive=False) |
|||
pyz = PYZ(a.pure, a.zipped_data, |
|||
cipher=block_cipher) |
|||
exe = EXE(pyz, |
|||
a.scripts, |
|||
a.binaries, |
|||
a.zipfiles, |
|||
a.datas, |
|||
[], |
|||
name='mlagents-learn', |
|||
debug=False, |
|||
bootloader_ignore_signals=False, |
|||
strip=False, |
|||
upx=True, |
|||
upx_exclude=[], |
|||
runtime_tmpdir=None, |
|||
console=True ) |
撰写
预览
正在加载...
取消
保存
Reference in new issue