浏览代码

Merge branch 'hh/develop-pushblockcollab' of https://github.com/Unity-Technologies/ml-agents into hh/develop-pushblockcollab

/hh-develop-pushblockcollab
HH 4 年前
当前提交
51eab14e
共有 4 个文件被更改,包括 12 次插入15 次删除
  1. 1
      Project/Assets/ML-Agents/Examples/Hallway/TFModels/HallwayCollab.onnx.meta
  2. 10
      Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockCollabArea.prefab
  3. 14
      Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentCollab.cs
  4. 2
      Project/Packages/manifest.json

1
Project/Assets/ML-Agents/Examples/Hallway/TFModels/HallwayCollab.onnx.meta


fileIDToRecycleName:
11400000: main obj
11400002: model data
2186277476908879412: ImportLogs
externalObjects: {}
userData:
assetBundleName:

10
Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockCollabArea.prefab


m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
VectorObservationSize: 0
VectorObservationSize: 1
NumStackedVectorObservations: 2
m_ActionSpec:
m_NumContinuousActions: 0

VectorActionSpaceType: 0
hasUpgradedBrainParametersWithActionSpec: 1
m_Model: {fileID: 0}
m_Model: {fileID: 11400000, guid: c0cee535eae6c4b1e9a4c06ac84d4bcc, type: 3}
GroupId: 0
m_UseChildSensors: 1
m_UseChildActuators: 1
m_ObservableAttributeHandling: 0

m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
VectorObservationSize: 0
VectorObservationSize: 1
NumStackedVectorObservations: 2
m_ActionSpec:
m_NumContinuousActions: 0

VectorActionSpaceType: 0
hasUpgradedBrainParametersWithActionSpec: 1
m_Model: {fileID: 0}
m_Model: {fileID: 11400000, guid: c0cee535eae6c4b1e9a4c06ac84d4bcc, type: 3}
GroupId: 0
m_UseChildSensors: 1
m_UseChildActuators: 1
m_ObservableAttributeHandling: 0

14
Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentCollab.cs


ForceMode.VelocityChange);
}
// public override void CollectObservations(VectorSensor sensor)
// {
// if (useVectorObs)
// {
// sensor.AddObservation(StepCount / (float)MaxStep);
// }
// }
public override void CollectObservations(VectorSensor sensor)
{
if (useVectorObs)
{
sensor.AddObservation(StepCount / (float)MaxStep);
}
}
/// <summary>
/// Called every step of the engine. Here the agent takes an action.

2
Project/Packages/manifest.json


"com.unity.ads": "2.0.8",
"com.unity.analytics": "3.2.3",
"com.unity.collab-proxy": "1.2.15",
"com.unity.ml-agents": "file:../../com.unity.ml-agents",
"com.unity.ml-agents": "1.7.0-preview",
"com.unity.ml-agents.extensions": "file:../../com.unity.ml-agents.extensions",
"com.unity.package-manager-ui": "2.0.8",
"com.unity.purchasing": "2.0.3",

正在加载...
取消
保存