Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Instructions to use Gurkengerd/ppo-Pyramid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use Gurkengerd/ppo-Pyramid with ml-agents:
mlagents-load-from-hf --repo-id="Gurkengerd/ppo-Pyramid" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from Gurkengerd/ppo-Pyramid: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/Gurkengerd/ppo-Pyramid/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://Gurkengerd/ppo-Pyramid/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/Gurkengerd/ppo-Pyramid/resolve/main/run_logs/timers.json
18.7 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.23376823961734772, | |
| "min": 0.23376823961734772, | |
| "max": 1.4003708362579346, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 7024.26806640625, | |
| "min": 7024.26806640625, | |
| "max": 42481.6484375, | |
| "count": 59 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 1769900.0, | |
| "min": 29931.0, | |
| "max": 1769900.0, | |
| "count": 59 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 1769900.0, | |
| "min": 29931.0, | |
| "max": 1769900.0, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 0.6649582386016846, | |
| "min": -0.11955397576093674, | |
| "max": 0.7744141817092896, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 183.52847290039062, | |
| "min": -28.334291458129883, | |
| "max": 227.67776489257812, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.0050683231092989445, | |
| "min": -0.03852938860654831, | |
| "max": 0.27051886916160583, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 1.3988571166992188, | |
| "min": -10.056170463562012, | |
| "max": 65.46556854248047, | |
| "count": 59 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06816684498852638, | |
| "min": 0.06562643365765329, | |
| "max": 0.07344392807161444, | |
| "count": 59 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 1.0225026748278956, | |
| "min": 0.578962358287809, | |
| "max": 1.0696384726422061, | |
| "count": 59 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.012185958640313604, | |
| "min": 0.0004620053325405456, | |
| "max": 0.016087516006023598, | |
| "count": 59 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.18278937960470407, | |
| "min": 0.006468074655567638, | |
| "max": 0.23846726586634764, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 0.0001244928451690711, | |
| "min": 0.0001244928451690711, | |
| "max": 0.00029828078807307083, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.0018673926775360666, | |
| "min": 0.0017858171047279, | |
| "max": 0.004010777363074233, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.14149759555555558, | |
| "min": 0.14149759555555558, | |
| "max": 0.19942692916666668, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 2.1224639333333335, | |
| "min": 1.5954154333333335, | |
| "max": 2.7369257666666664, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.0041556097960000005, | |
| "min": 0.0041556097960000005, | |
| "max": 0.00994275022375, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.06233414694, | |
| "min": 0.059607682790000005, | |
| "max": 0.13369888409, | |
| "count": 59 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.005337215028703213, | |
| "min": 0.005337215028703213, | |
| "max": 0.386653333902359, | |
| "count": 59 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.08005822449922562, | |
| "min": 0.08005822449922562, | |
| "max": 3.093226671218872, | |
| "count": 59 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 318.18947368421055, | |
| "min": 269.140350877193, | |
| "max": 998.5625, | |
| "count": 59 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 30228.0, | |
| "min": 16474.0, | |
| "max": 32540.0, | |
| "count": 59 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": 1.5307170002859958, | |
| "min": -0.9369625514373183, | |
| "max": 1.6709215520497631, | |
| "count": 59 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": 143.8873980268836, | |
| "min": -29.982801645994186, | |
| "max": 190.54819802194834, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": 1.5307170002859958, | |
| "min": -0.9369625514373183, | |
| "max": 1.6709215520497631, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": 143.8873980268836, | |
| "min": -29.982801645994186, | |
| "max": 190.54819802194834, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.018098568676307086, | |
| "min": 0.017557756110023626, | |
| "max": 7.737614622010904, | |
| "count": 59 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 1.701265455572866, | |
| "min": 1.6779243517376017, | |
| "max": 131.53944857418537, | |
| "count": 59 | |
| }, | |
| "Pyramids.IsTraining.mean": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 59 | |
| }, | |
| "Pyramids.IsTraining.sum": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 59 | |
| } | |
| }, | |
| "metadata": { | |
| "timer_format_version": "0.1.0", | |
| "start_time_seconds": "1793398630", | |
| "python_version": "3.10.11 (main, May 16 2023, 00:28:57) [GCC 11.2.0]", | |
| "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics", | |
| "mlagents_version": "1.2.0.dev0", | |
| "mlagents_envs_version": "1.2.0.dev0", | |
| "communication_protocol_version": "1.5.0", | |
| "pytorch_version": "2.8.0+cu128", | |
| "numpy_version": "1.23.5", | |
| "end_time_seconds": "1793402156" | |
| }, | |
| "total": 3526.34525251, | |
| "count": 1, | |
| "self": 0.537682579000375, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.026716167999893514, | |
| "count": 1, | |
| "self": 0.026716167999893514 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 3525.780853763, | |
| "count": 1, | |
| "self": 2.1523100159947717, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 3.009506504000001, | |
| "count": 1, | |
| "self": 3.009506504000001 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 3520.617945074005, | |
| "count": 114637, | |
| "self": 2.3164023540416565, | |
| "children": { | |
| "env_step": { | |
| "total": 2466.0710212450986, | |
| "count": 114637, | |
| "self": 2214.6618403622333, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 250.13100067896494, | |
| "count": 114637, | |
| "self": 7.656542560879643, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 242.4744581180853, | |
| "count": 112186, | |
| "self": 242.4744581180853 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 1.2781802039003196, | |
| "count": 114636, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 3519.94369685419, | |
| "count": 114636, | |
| "is_parallel": true, | |
| "self": 1484.7289842403784, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.04674230700038606, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.04554173200085643, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0012005749995296355, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0012005749995296355 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.050643147000300814, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005581360001087887, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.00044940800034964923, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00044940800034964923 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.0459265869999399, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0459265869999399 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.0037090159999024763, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0003729340000973025, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.003336081999805174, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.003336081999805174 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 2035.2147126138116, | |
| "count": 114635, | |
| "is_parallel": true, | |
| "self": 57.02396664162916, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 38.83063584512638, | |
| "count": 114635, | |
| "is_parallel": true, | |
| "self": 38.83063584512638 | |
| }, | |
| "communicator.exchange": { | |
| "total": 1767.9127782740188, | |
| "count": 114635, | |
| "is_parallel": true, | |
| "self": 1767.9127782740188 | |
| }, | |
| "steps_from_proto": { | |
| "total": 171.4473318530372, | |
| "count": 114635, | |
| "is_parallel": true, | |
| "self": 34.37301531631647, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 137.07431653672074, | |
| "count": 917080, | |
| "is_parallel": true, | |
| "self": 137.07431653672074 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 1052.2305214748649, | |
| "count": 114636, | |
| "self": 4.289327938824044, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 184.75930677203905, | |
| "count": 114636, | |
| "self": 184.3983179020397, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.3609888699993462, | |
| "count": 3, | |
| "self": 0.3609888699993462 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 863.1818867640018, | |
| "count": 829, | |
| "self": 458.6179100770669, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 404.5639766869349, | |
| "count": 40875, | |
| "self": 404.5639766869349 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.4099996406002901e-06, | |
| "count": 1, | |
| "self": 1.4099996406002901e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.0010907590003625955, | |
| "count": 1, | |
| "self": 2.3847999727877323e-05, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.0010669110006347182, | |
| "count": 1, | |
| "self": 0.0010669110006347182 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |