BensonV4.1 has been trained

This commit is contained in:
2024-04-19 16:07:16 +02:00
parent 8f16297e05
commit 91012e69dc
5 changed files with 67 additions and 3 deletions

Binary file not shown.

View File

@@ -0,0 +1,16 @@
fileFormatVersion: 2
guid: 5d1f7ab87b601564eb6f2b6e149a4315
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 683b6cb6d0a474744822c888b46772c9, type: 3}
optimizeModel: 1
forceArbitraryBatchSize: 1
treatErrorsAsWarnings: 0
importMode: 1
weightsTypeMode: 0
activationTypeMode: 0

View File

@@ -1 +1 @@
{"count":1,"self":10.153191999999999,"total":27.592682399999998,"children":{"InitializeActuators":{"count":10,"self":0.0015107999999999999,"total":0.0015107999999999999,"children":null},"InitializeSensors":{"count":10,"self":0.0023767,"total":0.0023767,"children":null},"AgentSendState":{"count":5201,"self":0.2085676,"total":0.39965059999999997,"children":{"CollectObservations":{"count":10410,"self":0.0506109,"total":0.0506109,"children":null},"WriteActionMask":{"count":10410,"self":0.0049118999999999994,"total":0.0049118999999999994,"children":null},"RequestDecision":{"count":10410,"self":0.0353548,"total":0.1355602,"children":{"AgentInfo.ToProto":{"count":10410,"self":0.0238086,"total":0.1002054,"children":{"GenerateSensorData":{"count":10410,"self":0.066654999999999992,"total":0.0763968,"children":{"RayPerceptionSensor.Perceive":{"count":20820,"self":0.0097418,"total":0.0097418,"children":null}}}}}}}}},"DecideAction":{"count":5201,"self":16.709854399999998,"total":16.7098548,"children":null},"AgentAct":{"count":5201,"self":0.3219187,"total":0.32504869999999997,"children":{"AgentInfo.ToProto":{"count":260,"self":0,"total":0.00313,"children":{"GenerateSensorData":{"count":260,"self":0.0021091,"total":0.00313,"children":{"RayPerceptionSensor.Perceive":{"count":520,"self":0.0010209,"total":0.0010209,"children":null}}}}}}}},"gauges":{"BensonV4.CumulativeReward":{"count":260,"max":0.137023434,"min":0.09874481,"runningAverage":0.120815031,"value":0.120933376,"weightedAverage":0.120719552}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713525165","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId 4068a663-bd5e-4526-907d-88111baad304 -accessToken 2br8Tr5WDuAnqRzlr3wnNZ_EORRyV0BMpmUN7FvToCw005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"AI training","end_time_seconds":"1713525193"}}
{"count":1,"self":48.641856,"total":49.1630518,"children":{"InitializeActuators":{"count":1,"self":0.0010003,"total":0.0010003,"children":null},"InitializeSensors":{"count":1,"self":0.0010000999999999999,"total":0.0010000999999999999,"children":null},"AgentSendState":{"count":2213,"self":0.044592599999999996,"total":0.0698158,"children":{"CollectObservations":{"count":443,"self":0.009644,"total":0.009644,"children":null},"WriteActionMask":{"count":443,"self":0.0005038,"total":0.0005038,"children":null},"RequestDecision":{"count":443,"self":0.0150754,"total":0.0150754,"children":null}}},"DecideAction":{"count":2213,"self":0.36232129999999996,"total":0.3648423,"children":{"RayPerceptionSensor.Perceive":{"count":886,"self":0.002521,"total":0.002521,"children":null}}},"AgentAct":{"count":2213,"self":0.0835345,"total":0.0835345,"children":null}},"gauges":{"BensonV4.CumulativeReward":{"count":3,"max":5.96420574,"min":5.87237167,"runningAverage":5.908585,"value":5.87237167,"weightedAverage":5.92717934}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713535484","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId 4068a663-bd5e-4526-907d-88111baad304 -accessToken 2br8Tr5WDuAnqRzlr3wnNZ_EORRyV0BMpmUN7FvToCw005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"AI training","end_time_seconds":"1713535533"}}

View File

@@ -175,6 +175,10 @@ PrefabInstance:
propertyPath: m_Name
value: TrainingV4 (6)
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -232,6 +236,10 @@ PrefabInstance:
propertyPath: m_Name
value: TrainingV4 (8)
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -289,6 +297,10 @@ PrefabInstance:
propertyPath: m_Name
value: TrainingV4 (9)
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -311,7 +323,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!81 &765367129
AudioListener:
m_ObjectHideFlags: 0
@@ -438,6 +450,10 @@ PrefabInstance:
propertyPath: m_Name
value: TrainingV4 (3)
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -495,6 +511,10 @@ PrefabInstance:
propertyPath: m_Name
value: TrainingV4 (1)
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -558,7 +578,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1387890555408215438, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
propertyPath: m_IsActive
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2100622393876020061, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
propertyPath: CameraSide
@@ -990,6 +1010,10 @@ PrefabInstance:
propertyPath: m_Name
value: TrainingV4 (2)
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -1221,6 +1245,10 @@ PrefabInstance:
propertyPath: m_Name
value: TrainingV4 (4)
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -1389,6 +1417,10 @@ PrefabInstance:
propertyPath: m_Name
value: TrainingV4 (5)
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -1446,6 +1478,10 @@ PrefabInstance:
propertyPath: m_Name
value: TrainingV4 (7)
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -1499,6 +1535,14 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1228817729644437253, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 5d1f7ab87b601564eb6f2b6e149a4315, type: 3}
- target: {fileID: 1228817729644437253, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_BehaviorType
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8832687267391831282, guid: a3462884d5dfc9e49a4a1c1abb5c98e7, type: 3}
propertyPath: m_Name
value: TrainingV4

View File

@@ -192,6 +192,10 @@ public class AgentControllerV4 : Agent
return angle;
}
private void OnTriggerEnter(Collider other) {
}
// // punishment for hitting a wall
// private void OnCollisionEnter(Collision other) {
// if (other.gameObject.tag == "Wall")