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="./download: string[]s"
- Notebooks
- Google Colab
- Kaggle
| using UnityEditor; | |
| using Unity.MLAgents.Integrations.Match3; | |
| namespace Unity.MLAgents.Editor | |
| { | |
| [] | |
| [] | |
| internal class Match3SensorComponentEditor : UnityEditor.Editor | |
| { | |
| public override void OnInspectorGUI() | |
| { | |
| var so = serializedObject; | |
| so.Update(); | |
| var component = (Match3SensorComponent)target; | |
| var board = component.GetComponent<AbstractBoard>(); | |
| if (board == null) | |
| { | |
| EditorGUILayout.HelpBox("You must provide an implementation of an AbstractBoard.", MessageType.Warning); | |
| return; | |
| } | |
| // Drawing the RenderTextureComponent | |
| EditorGUI.BeginChangeCheck(); | |
| EditorGUI.BeginDisabledGroup(!EditorUtilities.CanUpdateModelProperties()); | |
| { | |
| EditorGUILayout.PropertyField(so.FindProperty("m_SensorName"), true); | |
| EditorGUILayout.PropertyField(so.FindProperty("m_ObservationType"), true); | |
| } | |
| EditorGUI.EndDisabledGroup(); | |
| var requireSensorUpdate = EditorGUI.EndChangeCheck(); | |
| so.ApplyModifiedProperties(); | |
| if (requireSensorUpdate) | |
| { | |
| UpdateSensor(); | |
| } | |
| } | |
| void UpdateSensor() | |
| { | |
| } | |
| } | |
| } | |