Reinforcement Learning
ml-agents
TensorBoard
ONNX
deep-reinforcement-learning
ML-Agents-Pyramids
Pyramids
Eval Results (legacy)
Instructions to use shoemoney/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use shoemoney/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="shoemoney/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from shoemoney/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.8 kB
-
https://huggingface.co/shoemoney/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://shoemoney/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/shoemoney/ppo-Pyramids/resolve/main/run_logs/timers.json
18.8 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.539025068283081, | |
| "min": 0.539025068283081, | |
| "max": 1.5020947456359863, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 16058.634765625, | |
| "min": 16058.634765625, | |
| "max": 45567.546875, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 989881.0, | |
| "min": 29952.0, | |
| "max": 989881.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 989881.0, | |
| "min": 29952.0, | |
| "max": 989881.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 0.25609681010246277, | |
| "min": -0.09483502805233002, | |
| "max": 0.25609681010246277, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 66.0729751586914, | |
| "min": -22.760406494140625, | |
| "max": 66.0729751586914, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.12757086753845215, | |
| "min": -0.07357814908027649, | |
| "max": 0.3486853837966919, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 32.91328430175781, | |
| "min": -18.24738121032715, | |
| "max": 82.63843536376953, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06689570008408433, | |
| "min": 0.06653786639659058, | |
| "max": 0.0752334830455972, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 0.9365398011771806, | |
| "min": 0.47129768170697356, | |
| "max": 1.0775803280897285, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.016500006343059277, | |
| "min": 0.000798042352829641, | |
| "max": 0.016500006343059277, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.23100008880282985, | |
| "min": 0.00882276427764423, | |
| "max": 0.23100008880282985, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 7.740933134007144e-06, | |
| "min": 7.740933134007144e-06, | |
| "max": 0.00029515063018788575, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.00010837306387610002, | |
| "min": 0.00010837306387610002, | |
| "max": 0.0032569070143643993, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.1025802785714286, | |
| "min": 0.1025802785714286, | |
| "max": 0.19838354285714285, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.4361239000000003, | |
| "min": 1.3691136000000002, | |
| "max": 2.4852052000000007, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.0002677698292857144, | |
| "min": 0.0002677698292857144, | |
| "max": 0.00983851593142857, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.0037487776100000015, | |
| "min": 0.0037487776100000015, | |
| "max": 0.10858499644000003, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.01165462564677, | |
| "min": 0.011588354595005512, | |
| "max": 0.46844884753227234, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.16316476464271545, | |
| "min": 0.16223695874214172, | |
| "max": 3.279141902923584, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 575.8181818181819, | |
| "min": 575.8181818181819, | |
| "max": 999.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 31670.0, | |
| "min": 15984.0, | |
| "max": 32378.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": 0.8873356825539044, | |
| "min": -1.0000000521540642, | |
| "max": 1.0004908787933262, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": 49.690798223018646, | |
| "min": -32.000001668930054, | |
| "max": 51.134398467838764, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": 0.8873356825539044, | |
| "min": -1.0000000521540642, | |
| "max": 1.0004908787933262, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": 49.690798223018646, | |
| "min": -32.000001668930054, | |
| "max": 51.134398467838764, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.06968858758253711, | |
| "min": 0.06968858758253711, | |
| "max": 9.966501407325268, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 3.902560904622078, | |
| "min": 3.122139958140906, | |
| "max": 159.46402251720428, | |
| "count": 33 | |
| }, | |
| "Pyramids.IsTraining.mean": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.IsTraining.sum": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 33 | |
| } | |
| }, | |
| "metadata": { | |
| "timer_format_version": "0.1.0", | |
| "start_time_seconds": "1795830029", | |
| "python_version": "3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]", | |
| "command_line_arguments": "/content/unityenv/bin/mlagents-learn /content/unity-ml-agents/config/ppo/PyramidsRND.yaml --env=/content/unity-ml-agents/training-envs-executables/linux/Pyramids/Pyramids/Pyramids --run-id=shoemoney-Pyramids --no-graphics", | |
| "mlagents_version": "1.2.0.dev0", | |
| "mlagents_envs_version": "1.2.0.dev0", | |
| "communication_protocol_version": "1.5.0", | |
| "pytorch_version": "2.2.2+cpu", | |
| "numpy_version": "1.23.5", | |
| "end_time_seconds": "1795832339" | |
| }, | |
| "total": 2309.786822988999, | |
| "count": 1, | |
| "self": 1.0390937559986924, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.01769115299975965, | |
| "count": 1, | |
| "self": 0.01769115299975965 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 2308.7300380800007, | |
| "count": 1, | |
| "self": 1.266316880199156, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 1.8196716749989719, | |
| "count": 1, | |
| "self": 1.8196716749989719 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 2305.5522157438027, | |
| "count": 63406, | |
| "self": 1.399742260642597, | |
| "children": { | |
| "env_step": { | |
| "total": 1579.465440394897, | |
| "count": 63406, | |
| "self": 1482.4417019964021, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 96.23068339570636, | |
| "count": 63406, | |
| "self": 4.77227537062754, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 91.45840802507882, | |
| "count": 62565, | |
| "self": 91.45840802507882 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 0.7930550027886056, | |
| "count": 63406, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 2302.90444506313, | |
| "count": 63406, | |
| "is_parallel": true, | |
| "self": 940.2795899642279, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.0017721479998726863, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005752579963882454, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.001196890003484441, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.001196890003484441 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.048484957000255235, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005429690008895705, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.0004105039988644421, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0004105039988644421 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.04576108000037493, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.04576108000037493 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.001770404000126291, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0004034100002172636, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0013669939999090275, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0013669939999090275 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 1362.6248550989021, | |
| "count": 63405, | |
| "is_parallel": true, | |
| "self": 32.74820170156272, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 21.635828142974788, | |
| "count": 63405, | |
| "is_parallel": true, | |
| "self": 21.635828142974788 | |
| }, | |
| "communicator.exchange": { | |
| "total": 1200.612547757075, | |
| "count": 63405, | |
| "is_parallel": true, | |
| "self": 1200.612547757075 | |
| }, | |
| "steps_from_proto": { | |
| "total": 107.62827749728967, | |
| "count": 63405, | |
| "is_parallel": true, | |
| "self": 22.92534184687611, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 84.70293565041356, | |
| "count": 507240, | |
| "is_parallel": true, | |
| "self": 84.70293565041356 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 724.687033088263, | |
| "count": 63406, | |
| "self": 2.5739494152130646, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 106.86841079502665, | |
| "count": 63406, | |
| "self": 106.6763838210245, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.19202697400214674, | |
| "count": 2, | |
| "self": 0.19202697400214674 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 615.2446728780233, | |
| "count": 444, | |
| "self": 274.0329897411975, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 341.21168313682574, | |
| "count": 22791, | |
| "self": 341.21168313682574 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.2119999155402184e-06, | |
| "count": 1, | |
| "self": 1.2119999155402184e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.09183256899996195, | |
| "count": 1, | |
| "self": 0.0013308379984664498, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.0905017310014955, | |
| "count": 1, | |
| "self": 0.0905017310014955 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |