浏览代码

Actually add comment to ghosttrainer

/comms-grad
Ervin Teng 4 年前
当前提交
80598c48
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ml-agents/mlagents/trainers/ghost/trainer.py

1
ml-agents/mlagents/trainers/ghost/trainer.py


:param name_behavior_id: Fully qualified behavior name
:return: Policy associated with name_behavior_id
"""
# Get policy based on team id, but not group id
parsed_behavior_id = BehaviorIdentifiers.from_name_behavior_id(name_behavior_id)
name_behavior_id = create_name_behavior_id(
parsed_behavior_id.brain_name, team_id=parsed_behavior_id.team_id

正在加载...
取消
保存