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 com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs from AnnaMats/ppo-Pyramids-Training: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/AnnaMats/ppo-Pyramids-Training/resolve/main/com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs
- Command line
-
hf download hf://AnnaMats/ppo-Pyramids-Training/com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs
-
curl -L -o SensorComponent.cs https://huggingface.co/AnnaMats/ppo-Pyramids-Training/resolve/main/com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs
551 Bytes
| using UnityEngine; | |
| namespace Unity.MLAgents.Sensors | |
| { | |
| /// <summary> | |
| /// Editor components for creating Sensors. Generally an ISensor implementation should have a | |
| /// corresponding SensorComponent to create it. | |
| /// </summary> | |
| public abstract class SensorComponent : MonoBehaviour | |
| { | |
| /// <summary> | |
| /// Create the ISensors. This is called by the Agent when it is initialized. | |
| /// </summary> | |
| /// <returns>Created ISensor objects.</returns> | |
| public abstract ISensor[] CreateSensors(); | |
| } | |
| } | |