Side channel Added

add side channel to let python side know which target got win or lose.
fix update time bug. may cause double gameover check.(got another lose after reset the game.)
This commit is contained in:
2022-11-30 06:39:56 +09:00
parent 25eac00c53
commit 9585845ba2
13 changed files with 42376 additions and 113 deletions
+1 -1
View File
@@ -1 +1 @@
{"count":1,"self":42.474256,"total":42.853059699999996,"children":{"InitializeActuators":{"count":2,"self":0.0015008999999999999,"total":0.0015008999999999999,"children":null},"InitializeSensors":{"count":2,"self":0.0015055,"total":0.0015055,"children":null},"AgentSendState":{"count":1893,"self":0.010512599999999999,"total":0.2746114,"children":{"CollectObservations":{"count":1893,"self":0.2560784,"total":0.2560784,"children":null},"WriteActionMask":{"count":1893,"self":0.0025101999999999998,"total":0.0025101999999999998,"children":null},"RequestDecision":{"count":1893,"self":0.0055102,"total":0.0055102,"children":null}}},"DecideAction":{"count":1893,"self":0.0115018,"total":0.0115018,"children":null},"AgentAct":{"count":1893,"self":0.089183,"total":0.089183,"children":null}},"gauges":{"AKMAgent.CumulativeReward":{"count":2,"max":4055.03345,"min":0,"runningAverage":2027.51672,"value":4055.03345,"weightedAverage":1013.75836}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1669579002","unity_version":"2021.3.14f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.14f1\\Editor\\Unity.exe -projectpath C:\\Users\\UCUNI\\OneDrive\\Unity\\ML-Agents\\Aimbot-ParallelEnv -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-UCUNI -hubSessionId de16dbe0-6cd4-11ed-9c29-f9646c339c20 -accessToken jhaPd1UC_HGOPnXJPiNZkp5sX2Qlp2OZR2Lco0D0vEI00ef","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"InGame","end_time_seconds":"1669579045"}}
{"count":1,"self":40.2985024,"total":42.4412638,"children":{"InitializeActuators":{"count":16,"self":0.0020112,"total":0.0020112,"children":null},"InitializeSensors":{"count":16,"self":0.0015065999999999999,"total":0.0015065999999999999,"children":null},"AgentSendState":{"count":1874,"self":0.0380634,"total":1.8644398999999998,"children":{"CollectObservations":{"count":14992,"self":1.8012412,"total":1.8012412999999998,"children":null},"WriteActionMask":{"count":14992,"self":0.0075194,"total":0.0075194,"children":null},"RequestDecision":{"count":14992,"self":0.0176158,"total":0.0176158,"children":null}}},"DecideAction":{"count":1874,"self":0.034052,"total":0.034052,"children":null},"AgentAct":{"count":1874,"self":0.24024859999999998,"total":0.24024859999999998,"children":null}},"gauges":{"AKMAgent.CumulativeReward":{"count":15,"max":4907.581,"min":-20,"runningAverage":539.2357,"value":-20,"weightedAverage":582.851}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1669755123","unity_version":"2021.3.14f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.14f1\\Editor\\Unity.exe -projectpath C:\\Users\\UCUNI\\OneDrive\\Unity\\ML-Agents\\Aimbot-ParallelEnv -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-UCUNI -hubSessionId 39dd9f10-6f6c-11ed-bdc9-97b766c7725f -accessToken tjUhl7Qz2IHRCigogJbWXtXTE8NIC1e4qZnKcVPm0uc00ef","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"InGame","end_time_seconds":"1669755165"}}