浏览代码

removed the logging.basicConfig in other files, so that we have one place to control this (#1285)

/develop-generalizationTraining-TrainerController
GitHub 6 年前
当前提交
cf71145c
共有 3 个文件被更改,包括 0 次插入3 次删除
  1. 1
      ml-agents/mlagents/envs/communicator.py
  2. 1
      ml-agents/mlagents/envs/rpc_communicator.py
  3. 1
      ml-agents/mlagents/envs/socket_communicator.py

1
ml-agents/mlagents/envs/communicator.py


from .communicator_objects import UnityOutput, UnityInput
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger("mlagents.envs")

1
ml-agents/mlagents/envs/rpc_communicator.py


from .exception import UnityTimeOutException
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger("mlagents.envs")

1
ml-agents/mlagents/envs/socket_communicator.py


from .exception import UnityTimeOutException
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger("mlagents.envs")

正在加载...
取消
保存