Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Instructions to use AnnaMats/ppo-Pyramids-Training with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use AnnaMats/ppo-Pyramids-Training with ml-agents:
mlagents-load-from-hf --repo-id="AnnaMats/ppo-Pyramids-Training" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_input_pb2.pyi from AnnaMats/ppo-Pyramids-Training: direct link, hf CLI and curl.
- Browser
- Download file 4.87 kB
-
https://huggingface.co/AnnaMats/ppo-Pyramids-Training/resolve/main/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_input_pb2.pyi
- Command line
-
hf download hf://AnnaMats/ppo-Pyramids-Training/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_input_pb2.pyi
-
curl -L -o unity_rl_input_pb2.pyi https://huggingface.co/AnnaMats/ppo-Pyramids-Training/resolve/main/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_input_pb2.pyi
4.87 kB
| import sys | |
| from google.protobuf.descriptor import ( | |
| Descriptor as google___protobuf___descriptor___Descriptor, | |
| ) | |
| from google.protobuf.internal.containers import ( | |
| RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer, | |
| ) | |
| from google.protobuf.message import ( | |
| Message as google___protobuf___message___Message, | |
| ) | |
| from mlagents_envs.communicator_objects.agent_action_pb2 import ( | |
| AgentActionProto as mlagents_envs___communicator_objects___agent_action_pb2___AgentActionProto, | |
| ) | |
| from mlagents_envs.communicator_objects.command_pb2 import ( | |
| CommandProto as mlagents_envs___communicator_objects___command_pb2___CommandProto, | |
| ) | |
| from typing import ( | |
| Iterable as typing___Iterable, | |
| Mapping as typing___Mapping, | |
| MutableMapping as typing___MutableMapping, | |
| Optional as typing___Optional, | |
| Text as typing___Text, | |
| ) | |
| from typing_extensions import ( | |
| Literal as typing_extensions___Literal, | |
| ) | |
| builtin___bool = bool | |
| builtin___bytes = bytes | |
| builtin___float = float | |
| builtin___int = int | |
| class UnityRLInputProto(google___protobuf___message___Message): | |
| DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... | |
| class ListAgentActionProto(google___protobuf___message___Message): | |
| DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... | |
| @property | |
| def value(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[mlagents_envs___communicator_objects___agent_action_pb2___AgentActionProto]: ... | |
| def __init__(self, | |
| *, | |
| value : typing___Optional[typing___Iterable[mlagents_envs___communicator_objects___agent_action_pb2___AgentActionProto]] = None, | |
| ) -> None: ... | |
| @classmethod | |
| def FromString(cls, s: builtin___bytes) -> UnityRLInputProto.ListAgentActionProto: ... | |
| def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | |
| def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | |
| if sys.version_info >= (3,): | |
| def ClearField(self, field_name: typing_extensions___Literal[u"value"]) -> None: ... | |
| else: | |
| def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ... | |
| class AgentActionsEntry(google___protobuf___message___Message): | |
| DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... | |
| key = ... # type: typing___Text | |
| @property | |
| def value(self) -> UnityRLInputProto.ListAgentActionProto: ... | |
| def __init__(self, | |
| *, | |
| key : typing___Optional[typing___Text] = None, | |
| value : typing___Optional[UnityRLInputProto.ListAgentActionProto] = None, | |
| ) -> None: ... | |
| @classmethod | |
| def FromString(cls, s: builtin___bytes) -> UnityRLInputProto.AgentActionsEntry: ... | |
| def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | |
| def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | |
| if sys.version_info >= (3,): | |
| def HasField(self, field_name: typing_extensions___Literal[u"value"]) -> builtin___bool: ... | |
| def ClearField(self, field_name: typing_extensions___Literal[u"key",u"value"]) -> None: ... | |
| else: | |
| def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ... | |
| def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ... | |
| command = ... # type: mlagents_envs___communicator_objects___command_pb2___CommandProto | |
| side_channel = ... # type: builtin___bytes | |
| @property | |
| def agent_actions(self) -> typing___MutableMapping[typing___Text, UnityRLInputProto.ListAgentActionProto]: ... | |
| def __init__(self, | |
| *, | |
| agent_actions : typing___Optional[typing___Mapping[typing___Text, UnityRLInputProto.ListAgentActionProto]] = None, | |
| command : typing___Optional[mlagents_envs___communicator_objects___command_pb2___CommandProto] = None, | |
| side_channel : typing___Optional[builtin___bytes] = None, | |
| ) -> None: ... | |
| @classmethod | |
| def FromString(cls, s: builtin___bytes) -> UnityRLInputProto: ... | |
| def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | |
| def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ... | |
| if sys.version_info >= (3,): | |
| def ClearField(self, field_name: typing_extensions___Literal[u"agent_actions",u"command",u"side_channel"]) -> None: ... | |
| else: | |
| def ClearField(self, field_name: typing_extensions___Literal[u"agent_actions",b"agent_actions",u"command",b"command",u"side_channel",b"side_channel"]) -> None: ... | |