浏览代码

added warning in case no brins are set to external

/develop-generalizationTraining-TrainerController
vincentpierre 7 年前
当前提交
e191fbef
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      python/unityagents/environment.py

3
python/unityagents/environment.py


self._conn.send(b".")
self._loaded = True
logger.info("\n'{}' started successfully!".format(self._academy_name))
if (self._num_external_brains == 0):
logger.warning(" No External Brains found in the Unity Environment. "
"You will not be able to pass actions to your agent(s).")
@property
def brains(self):

正在加载...
取消
保存