Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Instructions to use jonardan/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use jonardan/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="jonardan/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from jonardan/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/jonardan/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://jonardan/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/jonardan/ppo-Pyramids/resolve/main/run_logs/timers.json
18.7 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.3658894896507263, | |
| "min": 0.3596569299697876, | |
| "max": 1.4243007898330688, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 11046.935546875, | |
| "min": 10789.7080078125, | |
| "max": 43207.58984375, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 989999.0, | |
| "min": 29952.0, | |
| "max": 989999.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 989999.0, | |
| "min": 29952.0, | |
| "max": 989999.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 0.23211348056793213, | |
| "min": -0.10889194905757904, | |
| "max": 0.28055182099342346, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 59.65316390991211, | |
| "min": -26.24295997619629, | |
| "max": 73.50457763671875, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.013696826063096523, | |
| "min": 0.0015328890876844525, | |
| "max": 0.2535511553287506, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 3.5200843811035156, | |
| "min": 0.39088672399520874, | |
| "max": 61.10582733154297, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06801098842718065, | |
| "min": 0.06590947563346986, | |
| "max": 0.07327672368228887, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 0.9521538379805291, | |
| "min": 0.4935609665349722, | |
| "max": 1.0270517524257623, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.016592552909523696, | |
| "min": 0.001111766874191221, | |
| "max": 0.017126394292793168, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.23229574073333176, | |
| "min": 0.01370799067336658, | |
| "max": 0.2568959143918975, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 7.286776142535711e-06, | |
| "min": 7.286776142535711e-06, | |
| "max": 0.00029515063018788575, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.00010201486599549996, | |
| "min": 0.00010201486599549996, | |
| "max": 0.0036345694884769, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.10242889285714285, | |
| "min": 0.10242889285714285, | |
| "max": 0.19838354285714285, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.4340045, | |
| "min": 1.3886848, | |
| "max": 2.6115231000000008, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.0002526463964285714, | |
| "min": 0.0002526463964285714, | |
| "max": 0.00983851593142857, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.0035370495499999995, | |
| "min": 0.0035370495499999995, | |
| "max": 0.12117115769000002, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.011393869295716286, | |
| "min": 0.010909139178693295, | |
| "max": 0.46546033024787903, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.1595141738653183, | |
| "min": 0.15272794663906097, | |
| "max": 3.2582223415374756, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 562.433962264151, | |
| "min": 471.3809523809524, | |
| "max": 999.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 29809.0, | |
| "min": 15984.0, | |
| "max": 33300.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": 1.135592424644614, | |
| "min": -1.0000000521540642, | |
| "max": 1.2704451418211382, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": 60.18639850616455, | |
| "min": -30.7108016833663, | |
| "max": 78.76759879291058, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": 1.135592424644614, | |
| "min": -1.0000000521540642, | |
| "max": 1.2704451418211382, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": 60.18639850616455, | |
| "min": -30.7108016833663, | |
| "max": 78.76759879291058, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.06559471818173682, | |
| "min": 0.05926375618887945, | |
| "max": 9.450874235481024, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 3.4765200636320515, | |
| "min": 3.3959342592861503, | |
| "max": 151.21398776769638, | |
| "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": "1795687827", | |
| "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [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": "1795691048" | |
| }, | |
| "total": 3220.90514126, | |
| "count": 1, | |
| "self": 1.412950159000502, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.051428738000140584, | |
| "count": 1, | |
| "self": 0.051428738000140584 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 3219.4407623629995, | |
| "count": 1, | |
| "self": 2.2647734268339264, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 4.4857250350005415, | |
| "count": 1, | |
| "self": 4.4857250350005415 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 3212.5460245381664, | |
| "count": 63535, | |
| "self": 2.6416893102814356, | |
| "children": { | |
| "env_step": { | |
| "total": 2261.208167978906, | |
| "count": 63535, | |
| "self": 2110.2272599832477, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 149.62180549582718, | |
| "count": 63535, | |
| "self": 6.589754803946562, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 143.0320506918806, | |
| "count": 62563, | |
| "self": 143.0320506918806 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 1.3591024998313515, | |
| "count": 63535, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 3211.4770805501366, | |
| "count": 63535, | |
| "is_parallel": true, | |
| "self": 1276.4606541870744, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.004059353000229748, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0015026499995656195, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.002556703000664129, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.002556703000664129 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.07031648800057155, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0006854900011603604, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.000538391999725718, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.000538391999725718 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.06684076700003061, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.06684076700003061 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.002251838999654865, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0004343489999882877, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0018174899996665772, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0018174899996665772 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 1935.0164263630622, | |
| "count": 63534, | |
| "is_parallel": true, | |
| "self": 43.55280524720911, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 28.357873166045465, | |
| "count": 63534, | |
| "is_parallel": true, | |
| "self": 28.357873166045465 | |
| }, | |
| "communicator.exchange": { | |
| "total": 1723.4619075129276, | |
| "count": 63534, | |
| "is_parallel": true, | |
| "self": 1723.4619075129276 | |
| }, | |
| "steps_from_proto": { | |
| "total": 139.64384043688005, | |
| "count": 63534, | |
| "is_parallel": true, | |
| "self": 29.213279167295696, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 110.43056126958436, | |
| "count": 508272, | |
| "is_parallel": true, | |
| "self": 110.43056126958436 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 948.6961672489788, | |
| "count": 63535, | |
| "self": 4.316328284029623, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 138.1453432739363, | |
| "count": 63535, | |
| "self": 137.87380942193613, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.2715338520001751, | |
| "count": 2, | |
| "self": 0.2715338520001751 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 806.2344956910129, | |
| "count": 453, | |
| "self": 331.1177881571166, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 475.11670753389626, | |
| "count": 22800, | |
| "self": 475.11670753389626 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.2479995348257944e-06, | |
| "count": 1, | |
| "self": 1.2479995348257944e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.1442381149990979, | |
| "count": 1, | |
| "self": 0.0070369979985116515, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.13720111700058624, | |
| "count": 1, | |
| "self": 0.13720111700058624 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |