浏览代码

Freeze support for multiprocessing

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

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


import logging
import multiprocessing
from multiprocessing import Process, Queue
import os
import sys

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

正在加载...
取消
保存