Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Instructions to use PaulB04/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use PaulB04/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="PaulB04/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from PaulB04/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/PaulB04/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://PaulB04/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/PaulB04/ppo-Pyramids/resolve/main/run_logs/timers.json
18.7 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.5798192620277405, | |
| "min": 0.5763584971427917, | |
| "max": 1.5863513946533203, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 5881.6865234375, | |
| "min": 5699.03271484375, | |
| "max": 16244.23828125, | |
| "count": 100 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 999895.0, | |
| "min": 9984.0, | |
| "max": 999895.0, | |
| "count": 100 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 999895.0, | |
| "min": 9984.0, | |
| "max": 999895.0, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 0.38308587670326233, | |
| "min": -0.11513377726078033, | |
| "max": 0.5053627490997314, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 32.94538497924805, | |
| "min": -9.210701942443848, | |
| "max": 45.48264694213867, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.3047904074192047, | |
| "min": -0.0053413258865475655, | |
| "max": 0.35464778542518616, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 26.21197509765625, | |
| "min": -0.4593540132045746, | |
| "max": 28.533517837524414, | |
| "count": 100 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.07160478814815482, | |
| "min": 0.06048960884400716, | |
| "max": 0.08084401663178016, | |
| "count": 100 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 0.3580239407407741, | |
| "min": 0.15758001582677633, | |
| "max": 0.37065718517588525, | |
| "count": 100 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.02206360359559767, | |
| "min": 4.576375274785424e-05, | |
| "max": 0.02349839923942151, | |
| "count": 100 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.11031801797798835, | |
| "min": 0.00018305501099141695, | |
| "max": 0.11749199619710755, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 1.2898595700800042e-06, | |
| "min": 1.2898595700800042e-06, | |
| "max": 0.0002981568006144, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 6.449297850400021e-06, | |
| "min": 6.449297850400021e-06, | |
| "max": 0.0012375585874805, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.10042991999999999, | |
| "min": 0.10042991999999999, | |
| "max": 0.1993856, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 0.5021496, | |
| "min": 0.39717119999999995, | |
| "max": 0.9125195000000001, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 5.294900800000014e-05, | |
| "min": 5.294900800000014e-05, | |
| "max": 0.00993862144, | |
| "count": 100 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.0002647450400000007, | |
| "min": 0.0002647450400000007, | |
| "max": 0.04126069805, | |
| "count": 100 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.007824857719242573, | |
| "min": 0.007580474950373173, | |
| "max": 0.5906784534454346, | |
| "count": 100 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.03912428766489029, | |
| "min": 0.0315844751894474, | |
| "max": 1.1813569068908691, | |
| "count": 100 | |
| }, | |
| "Pyramids.IsTraining.mean": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 100 | |
| }, | |
| "Pyramids.IsTraining.sum": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 100 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 423.82608695652175, | |
| "min": 290.0, | |
| "max": 999.0, | |
| "count": 99 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 9748.0, | |
| "min": 290.0, | |
| "max": 15984.0, | |
| "count": 99 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": 1.489173881061699, | |
| "min": -1.0000000521540642, | |
| "max": 1.7099999487400055, | |
| "count": 99 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": 34.25099926441908, | |
| "min": -16.000000834465027, | |
| "max": 38.308599442243576, | |
| "count": 99 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": 1.489173881061699, | |
| "min": -1.0000000521540642, | |
| "max": 1.7099999487400055, | |
| "count": 99 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": 34.25099926441908, | |
| "min": -16.000000834465027, | |
| "max": 38.308599442243576, | |
| "count": 99 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.03386087594718328, | |
| "min": 0.03068212072618983, | |
| "max": 6.945044104009867, | |
| "count": 99 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 0.7788001467852155, | |
| "min": 0.3024115227162838, | |
| "max": 111.12070566415787, | |
| "count": 99 | |
| } | |
| }, | |
| "metadata": { | |
| "timer_format_version": "0.1.0", | |
| "start_time_seconds": "1796075638", | |
| "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]", | |
| "command_line_arguments": "/content/mlenv/bin/mlagents-learn Pyramids.yaml --env=envs/Pyramids/Pyramids --run-id=PyramidsTraining --no-graphics --force", | |
| "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": "1796078830" | |
| }, | |
| "total": 3191.897625341, | |
| "count": 1, | |
| "self": 0.6539405889998307, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.034251935000156664, | |
| "count": 1, | |
| "self": 0.034251935000156664 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 3191.209432817, | |
| "count": 1, | |
| "self": 2.273050198984947, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 2.693922102999977, | |
| "count": 1, | |
| "self": 2.693922102999977 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 3186.161362358016, | |
| "count": 63509, | |
| "self": 2.2445539401369388, | |
| "children": { | |
| "env_step": { | |
| "total": 2178.6788704279033, | |
| "count": 63509, | |
| "self": 2032.3089991498362, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 145.0148646370376, | |
| "count": 63509, | |
| "self": 6.300116515072432, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 138.71474812196516, | |
| "count": 62565, | |
| "self": 138.71474812196516 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 1.355006641029604, | |
| "count": 63509, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 3183.5215641770274, | |
| "count": 63509, | |
| "is_parallel": true, | |
| "self": 1321.528315769015, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.002609273999951256, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0007643040003131318, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0018449699996381241, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0018449699996381241 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.09735619599996426, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0006459660000928125, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.0005080129999441851, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005080129999441851 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.09412523599985434, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.09412523599985434 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.0020769810000729194, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005634930005271599, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0015134879995457595, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0015134879995457595 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 1861.9932484080123, | |
| "count": 63508, | |
| "is_parallel": true, | |
| "self": 43.483305625103185, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 29.297416146970363, | |
| "count": 63508, | |
| "is_parallel": true, | |
| "self": 29.297416146970363 | |
| }, | |
| "communicator.exchange": { | |
| "total": 1647.683766742944, | |
| "count": 63508, | |
| "is_parallel": true, | |
| "self": 1647.683766742944 | |
| }, | |
| "steps_from_proto": { | |
| "total": 141.52875989299469, | |
| "count": 63508, | |
| "is_parallel": true, | |
| "self": 29.42439314386752, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 112.10436674912717, | |
| "count": 508064, | |
| "is_parallel": true, | |
| "self": 112.10436674912717 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 1005.237937989976, | |
| "count": 63509, | |
| "self": 4.10511132895158, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 143.91856941902097, | |
| "count": 63509, | |
| "self": 143.71020422202128, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.20836519699969358, | |
| "count": 2, | |
| "self": 0.20836519699969358 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 857.2142572420034, | |
| "count": 446, | |
| "self": 368.05661435998763, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 489.1576428820158, | |
| "count": 22860, | |
| "self": 489.1576428820158 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.1069996617152356e-06, | |
| "count": 1, | |
| "self": 1.1069996617152356e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.08109704999969836, | |
| "count": 1, | |
| "self": 0.006370676999722491, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.07472637299997587, | |
| "count": 1, | |
| "self": 0.07472637299997587 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |