Reinforcement Learning
ml-agents
TensorBoard
ONNX
ML-Agents-Pyramids
ppo
deep-rl-course
Eval Results (legacy)
Instructions to use hugomnz/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use hugomnz/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="hugomnz/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download training_timers.json from hugomnz/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/hugomnz/ppo-Pyramids/resolve/main/training_timers.json
- Command line
-
hf download hf://hugomnz/ppo-Pyramids/training_timers.json
-
curl -L -o training_timers.json https://huggingface.co/hugomnz/ppo-Pyramids/resolve/main/training_timers.json
18.7 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.8640857338905334, | |
| "min": 0.8327422738075256, | |
| "max": 1.5907518863677979, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 8516.4287109375, | |
| "min": 7696.38671875, | |
| "max": 16289.2998046875, | |
| "count": 20 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 199896.0, | |
| "min": 9984.0, | |
| "max": 199896.0, | |
| "count": 20 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 199896.0, | |
| "min": 9984.0, | |
| "max": 199896.0, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": -0.08156966418027878, | |
| "min": -0.10430754721164703, | |
| "max": -0.017720680683851242, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": -6.607142925262451, | |
| "min": -8.342769622802734, | |
| "max": -1.3822131156921387, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.04265531897544861, | |
| "min": 0.04265531897544861, | |
| "max": 0.3817429840564728, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 3.455080986022949, | |
| "min": 3.455080986022949, | |
| "max": 30.92118263244629, | |
| "count": 20 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06970868661087704, | |
| "min": 0.063087967454016, | |
| "max": 0.07814604489744492, | |
| "count": 20 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 0.27883474644350814, | |
| "min": 0.13827339567972652, | |
| "max": 0.27883474644350814, | |
| "count": 20 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.0013088749352108324, | |
| "min": 0.0001141643440676314, | |
| "max": 0.016241563733880564, | |
| "count": 20 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.00523549974084333, | |
| "min": 0.0003424930322028942, | |
| "max": 0.03248312746776113, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 8.096347301249993e-06, | |
| "min": 8.096347301249993e-06, | |
| "max": 0.000290784003072, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 3.238538920499997e-05, | |
| "min": 3.238538920499997e-05, | |
| "max": 0.000791136036288, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.10269875, | |
| "min": 0.10269875, | |
| "max": 0.19692800000000002, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 0.410795, | |
| "min": 0.32576000000000005, | |
| "max": 0.563712, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.00027960512499999976, | |
| "min": 0.00027960512499999976, | |
| "max": 0.0096931072, | |
| "count": 20 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.001118420499999999, | |
| "min": 0.001118420499999999, | |
| "max": 0.0263748288, | |
| "count": 20 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.03752041980624199, | |
| "min": 0.03752041980624199, | |
| "max": 0.6929463148117065, | |
| "count": 20 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.15008167922496796, | |
| "min": 0.12589704990386963, | |
| "max": 1.385892629623413, | |
| "count": 20 | |
| }, | |
| "Pyramids.IsTraining.mean": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 20 | |
| }, | |
| "Pyramids.IsTraining.sum": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 20 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 987.875, | |
| "min": 780.5, | |
| "max": 999.0, | |
| "count": 16 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 15806.0, | |
| "min": 999.0, | |
| "max": 15984.0, | |
| "count": 16 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": -0.8637500493787229, | |
| "min": -1.0000000521540642, | |
| "max": 0.21929998695850372, | |
| "count": 17 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": -13.820000790059566, | |
| "min": -16.000000834465027, | |
| "max": 0.43859997391700745, | |
| "count": 17 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": -0.8637500493787229, | |
| "min": -1.0000000521540642, | |
| "max": 0.21929998695850372, | |
| "count": 17 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": -13.820000790059566, | |
| "min": -16.000000834465027, | |
| "max": 0.43859997391700745, | |
| "count": 17 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.4017323845764622, | |
| "min": 0.4017323845764622, | |
| "max": 7.96892923116684, | |
| "count": 17 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 6.427718153223395, | |
| "min": 0.5009147934615612, | |
| "max": 127.50286769866943, | |
| "count": 17 | |
| } | |
| }, | |
| "metadata": { | |
| "timer_format_version": "0.1.0", | |
| "start_time_seconds": "1796031613", | |
| "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]", | |
| "command_line_arguments": "run_training.py configs/PyramidsRND.yaml --env=environments/Pyramids/Pyramids --run-id=Hugo_PyramidsRND_30nov2026 --results-dir=results --no-graphics --base-port=6700 --num-envs=1 --seed=42 --time-scale=20 --torch-device=cpu", | |
| "mlagents_version": "1.1.0", | |
| "mlagents_envs_version": "1.1.0", | |
| "communication_protocol_version": "1.5.0", | |
| "pytorch_version": "2.1.1+cpu", | |
| "numpy_version": "1.23.5", | |
| "end_time_seconds": "1796032037" | |
| }, | |
| "total": 423.83809670000005, | |
| "count": 1, | |
| "self": 0.4221939829999428, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.020680379000168614, | |
| "count": 1, | |
| "self": 0.020680379000168614 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 423.39522233799994, | |
| "count": 1, | |
| "self": 0.2976648680130438, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 1.1956579760001205, | |
| "count": 1, | |
| "self": 1.1956579760001205 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 421.8451904319868, | |
| "count": 12527, | |
| "self": 0.2755973159885343, | |
| "children": { | |
| "env_step": { | |
| "total": 302.67893471701086, | |
| "count": 12527, | |
| "self": 274.2653987690153, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 28.21310673501216, | |
| "count": 12527, | |
| "self": 0.6910584659995038, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 27.522048269012657, | |
| "count": 12512, | |
| "self": 27.522048269012657 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 0.20042921298340843, | |
| "count": 12527, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 422.50641079698676, | |
| "count": 12527, | |
| "is_parallel": true, | |
| "self": 175.0581692339622, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.0010806739999225101, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00030571999946005235, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0007749540004624578, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0007749540004624578 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.06099743900017529, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0002812320003613422, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.0003290739998647041, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0003290739998647041 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.05944273499994779, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.05944273499994779 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.0009443980000014562, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00023839699997552088, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0007060010000259354, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0007060010000259354 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 247.44824156302457, | |
| "count": 12526, | |
| "is_parallel": true, | |
| "self": 3.4349303570356824, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 2.41926830000466, | |
| "count": 12526, | |
| "is_parallel": true, | |
| "self": 2.41926830000466 | |
| }, | |
| "communicator.exchange": { | |
| "total": 231.5250457460063, | |
| "count": 12526, | |
| "is_parallel": true, | |
| "self": 231.5250457460063 | |
| }, | |
| "steps_from_proto": { | |
| "total": 10.068997159977926, | |
| "count": 12526, | |
| "is_parallel": true, | |
| "self": 2.4685905340622867, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 7.600406625915639, | |
| "count": 100208, | |
| "is_parallel": true, | |
| "self": 7.600406625915639 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 118.8906583989874, | |
| "count": 12527, | |
| "self": 0.38911037698449036, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 19.082547705001843, | |
| "count": 12527, | |
| "self": 18.937569667001753, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.14497803800009024, | |
| "count": 2, | |
| "self": 0.14497803800009024 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 99.41900031700106, | |
| "count": 60, | |
| "self": 43.942260310999245, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 55.47674000600182, | |
| "count": 4617, | |
| "self": 55.47674000600182 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 7.910000476840651e-07, | |
| "count": 1, | |
| "self": 7.910000476840651e-07 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.05670827099993403, | |
| "count": 1, | |
| "self": 0.0016570479999700183, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.05505122299996401, | |
| "count": 1, | |
| "self": 0.05505122299996401 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |