浏览代码

Move freeze support

/develop-pyinstaller
Ervin Teng 5 年前
当前提交
209c71c0
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 5
      ml-agents/mlagents/trainers/learn.py

5
ml-agents/mlagents/trainers/learn.py


def main():
# Enable multiprocessing's freeze support
multiprocessing.freeze_support()
try:
print(
"""

# For python debugger to directly run this script
if __name__ == "__main__":
# Enable multiprocessing's freeze support
multiprocessing.freeze_support()
# Run code
main()
正在加载...
取消
保存