浏览代码
API for sending custom protobuf messages to and from Unity. (#1595)
API for sending custom protobuf messages to and from Unity. (#1595)
* API for sending custom protobuf messages to and from Unity. * Rename custom_output to custom_outputs. * Move custom protos to their own files. * Add SetCustomOutput method. * Add docstrings. * Various adjustments. * Rename CustomParameters -> CustomResetParameters * Rename CustomOutput -> CUstomObservation * Add CustomAction * Add CustomActionResult * Remove custom action result. * Remove custom action result from Python API * Start new documentation. * Add some docstrings * Expand documentation. * Typos * Tweak doc. Also eliminate GetCustomObservation. * Fix typo. * Clarify docs. * Remove trailing whitspace/develop-generalizationTraining-TrainerController
Vincent-Pierre BERGES
6 年前
当前提交
bc636075
共有 45 个文件被更改,包括 1230 次插入 和 205 次删除
-
4UnitySDK/Assets/ML-Agents/Scripts/Academy.cs
-
54UnitySDK/Assets/ML-Agents/Scripts/Agent.cs
-
1UnitySDK/Assets/ML-Agents/Scripts/Batcher.cs
-
49UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/AgentActionProto.cs
-
57UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/AgentInfoProto.cs
-
53UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/EnvironmentParametersProto.cs
-
4UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/UnityInput.cs
-
6UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/UnityMessage.cs
-
4UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/UnityOutput.cs
-
2UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/UnityRlInitializationOutput.cs
-
2UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/UnityRlInput.cs
-
6UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/UnityToExternalGrpc.cs
-
1docs/Readme.md
-
5ml-agents/mlagents/envs/brain.py
-
3ml-agents/mlagents/envs/communicator_objects/__init__.py
-
33ml-agents/mlagents/envs/communicator_objects/agent_action_proto_pb2.py
-
47ml-agents/mlagents/envs/communicator_objects/agent_info_proto_pb2.py
-
23ml-agents/mlagents/envs/communicator_objects/brain_parameters_proto_pb2.py
-
13ml-agents/mlagents/envs/communicator_objects/command_proto_pb2.py
-
19ml-agents/mlagents/envs/communicator_objects/engine_configuration_proto_pb2.py
-
40ml-agents/mlagents/envs/communicator_objects/environment_parameters_proto_pb2.py
-
11ml-agents/mlagents/envs/communicator_objects/header_pb2.py
-
13ml-agents/mlagents/envs/communicator_objects/resolution_proto_pb2.py
-
11ml-agents/mlagents/envs/communicator_objects/space_type_proto_pb2.py
-
11ml-agents/mlagents/envs/communicator_objects/unity_input_pb2.py
-
13ml-agents/mlagents/envs/communicator_objects/unity_message_pb2.py
-
11ml-agents/mlagents/envs/communicator_objects/unity_output_pb2.py
-
9ml-agents/mlagents/envs/communicator_objects/unity_rl_initialization_input_pb2.py
-
17ml-agents/mlagents/envs/communicator_objects/unity_rl_initialization_output_pb2.py
-
28ml-agents/mlagents/envs/communicator_objects/unity_rl_input_pb2.py
-
24ml-agents/mlagents/envs/communicator_objects/unity_rl_output_pb2.py
-
38ml-agents/mlagents/envs/environment.py
-
3protobuf-definitions/proto/mlagents/envs/communicator_objects/agent_action_proto.proto
-
3protobuf-definitions/proto/mlagents/envs/communicator_objects/agent_info_proto.proto
-
3protobuf-definitions/proto/mlagents/envs/communicator_objects/environment_parameters_proto.proto
-
145UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/CustomAction.cs
-
146UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/CustomObservation.cs
-
146UnitySDK/Assets/ML-Agents/Scripts/CommunicatorObjects/CustomResetParameters.cs
-
167docs/Custom-Protos.md
-
63ml-agents/mlagents/envs/communicator_objects/custom_action_pb2.py
-
63ml-agents/mlagents/envs/communicator_objects/custom_observation_pb2.py
-
63ml-agents/mlagents/envs/communicator_objects/custom_reset_parameters_pb2.py
-
7protobuf-definitions/proto/mlagents/envs/communicator_objects/custom_action.proto
-
7protobuf-definitions/proto/mlagents/envs/communicator_objects/custom_observation.proto
-
7protobuf-definitions/proto/mlagents/envs/communicator_objects/custom_reset_parameters.proto