浏览代码

Merge branch 'soccer-2v1' into asymm-envs

/asymm-envs
Andrew Cohen 5 年前
当前提交
c07e0fce
共有 8 个文件被更改,包括 515 次插入1520 次删除
  1. 8
      Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerFieldTwos.prefab
  2. 2
      Project/Assets/ML-Agents/Examples/Soccer/TFModels/SoccerTwos.nn.meta
  3. 1001
      Project/Assets/ML-Agents/Examples/Soccer/TFModels/SoccerTwos.nn
  4. 19
      Project/Assets/ML-Agents/Examples/Tennis/Prefabs/TennisArea.prefab
  5. 1001
      Project/Assets/ML-Agents/Examples/Tennis/TFModels/Tennis.nn
  6. 4
      ml-agents/mlagents/trainers/ghost/controller.py
  7. 0
      /Project/Assets/ML-Agents/Examples/Soccer/TFModels/SoccerTwos.nn.meta
  8. 0
      /Project/Assets/ML-Agents/Examples/Soccer/TFModels/SoccerTwos.nn

8
Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerFieldTwos.prefab


vectorActionSize: 030000000300000003000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 9d26b71f04a2d4680a68d8de4f6b62e9, type: 3}
m_Model: {fileID: 11400000, guid: b0a629580a0ab48a5a774f90ff1fb48b, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: SoccerTwos

vectorActionSize: 030000000300000003000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 9d26b71f04a2d4680a68d8de4f6b62e9, type: 3}
m_Model: {fileID: 11400000, guid: b0a629580a0ab48a5a774f90ff1fb48b, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: SoccerTwos

vectorActionSize: 030000000300000003000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 9d26b71f04a2d4680a68d8de4f6b62e9, type: 3}
m_Model: {fileID: 11400000, guid: b0a629580a0ab48a5a774f90ff1fb48b, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: SoccerTwos

vectorActionSize: 030000000300000003000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 9d26b71f04a2d4680a68d8de4f6b62e9, type: 3}
m_Model: {fileID: 11400000, guid: b0a629580a0ab48a5a774f90ff1fb48b, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: SoccerTwos

2
Project/Assets/ML-Agents/Examples/Soccer/TFModels/SoccerTwos.nn.meta


fileFormatVersion: 2
guid: 9d26b71f04a2d4680a68d8de4f6b62e9
guid: b0a629580a0ab48a5a774f90ff1fb48b
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj

1001
Project/Assets/ML-Agents/Examples/Soccer/TFModels/SoccerTwos.nn
文件差异内容过多而无法显示
查看文件

19
Project/Assets/ML-Agents/Examples/Tennis/Prefabs/TennisArea.prefab


m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: Tennis
m_TeamID: 0
m_useChildSensors: 1
TeamId: 0
m_UseChildSensors: 1
--- !u!114 &114915946461826994
MonoBehaviour:
m_ObjectHideFlags: 0

m_Script: {fileID: 11500000, guid: e51a3fb0b3186433ea84fc1e0549cc91, type: 3}
m_Name:
m_EditorClassIdentifier:
agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
maxStep: 0
ball: {fileID: 1273406647218856}
invertX: 0

m_Name:
m_EditorClassIdentifier:
DecisionPeriod: 5
RepeatAction: 1
TakeActionsBetweenDecisions: 1
offsetStep: 0
--- !u!1 &1194790474478638
GameObject:

m_EditorClassIdentifier:
areaObject: {fileID: 1541947554534326}
lastAgentHit: 0
net: 0
lastFloorHit: 0
--- !u!1 &1299636753784036
GameObject:

m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: Tennis
m_TeamID: 1
m_useChildSensors: 1
TeamId: 1
m_UseChildSensors: 1
--- !u!114 &114800310164848628
MonoBehaviour:
m_ObjectHideFlags: 0

m_Script: {fileID: 11500000, guid: e51a3fb0b3186433ea84fc1e0549cc91, type: 3}
m_Name:
m_EditorClassIdentifier:
agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
maxStep: 0
ball: {fileID: 1273406647218856}
invertX: 1

m_Name:
m_EditorClassIdentifier:
DecisionPeriod: 5
RepeatAction: 1
TakeActionsBetweenDecisions: 1
offsetStep: 0
--- !u!1 &1969551055586186
GameObject:

1001
Project/Assets/ML-Agents/Examples/Tennis/TFModels/Tennis.nn
文件差异内容过多而无法显示
查看文件

4
ml-agents/mlagents/trainers/ghost/controller.py


import logging
from mlagents_envs.logging_util import get_logger
logger = logging.getLogger("mlagents.trainers")
logger = get_logger(__name__)
class GhostController(object):

/Project/Assets/ML-Agents/Examples/Soccer/TFModels/Soccer.nn.meta → /Project/Assets/ML-Agents/Examples/Soccer/TFModels/SoccerTwos.nn.meta

/Project/Assets/ML-Agents/Examples/Soccer/TFModels/Soccer.nn → /Project/Assets/ML-Agents/Examples/Soccer/TFModels/SoccerTwos.nn

正在加载...
取消
保存