Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Eval Results (legacy)
Instructions to use foleymon/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use foleymon/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="foleymon/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from foleymon/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/foleymon/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://foleymon/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/foleymon/ppo-Pyramids/resolve/main/run_logs/timers.json
18.7 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.5474993586540222, | |
| "min": 0.5474993586540222, | |
| "max": 1.5009582042694092, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 16503.8203125, | |
| "min": 16503.8203125, | |
| "max": 45533.06640625, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 989962.0, | |
| "min": 29952.0, | |
| "max": 989962.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 989962.0, | |
| "min": 29952.0, | |
| "max": 989962.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 0.4347534775733948, | |
| "min": -0.10804800689220428, | |
| "max": 0.4347534775733948, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 117.38343811035156, | |
| "min": -25.607378005981445, | |
| "max": 117.38343811035156, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.039872437715530396, | |
| "min": -0.027738522738218307, | |
| "max": 0.2072589248418808, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 10.765558242797852, | |
| "min": -7.0733232498168945, | |
| "max": 49.74214172363281, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06702561569681659, | |
| "min": 0.06671399170599183, | |
| "max": 0.07346431049061757, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 1.0053842354522489, | |
| "min": 0.4978563746925171, | |
| "max": 1.1019646573592634, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.015848346665182783, | |
| "min": 0.00022273333631049307, | |
| "max": 0.015848346665182783, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.23772519997774175, | |
| "min": 0.00289553337203641, | |
| "max": 0.23772519997774175, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 7.450457516546671e-06, | |
| "min": 7.450457516546671e-06, | |
| "max": 0.00029515063018788575, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.00011175686274820008, | |
| "min": 0.00011175686274820008, | |
| "max": 0.0035074709308430996, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.10248345333333334, | |
| "min": 0.10248345333333334, | |
| "max": 0.19838354285714285, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.5372518, | |
| "min": 1.3886848, | |
| "max": 2.5691569000000003, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.0002580969880000001, | |
| "min": 0.0002580969880000001, | |
| "max": 0.00983851593142857, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.003871454820000002, | |
| "min": 0.003871454820000002, | |
| "max": 0.11693877431, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.00982634350657463, | |
| "min": 0.009683058597147465, | |
| "max": 0.36953073740005493, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.14739514887332916, | |
| "min": 0.13556282222270966, | |
| "max": 2.5867152214050293, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 414.4246575342466, | |
| "min": 414.4246575342466, | |
| "max": 999.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 30253.0, | |
| "min": 15984.0, | |
| "max": 32708.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": 1.5312610926727455, | |
| "min": -1.0000000521540642, | |
| "max": 1.5312610926727455, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": 110.25079867243767, | |
| "min": -30.74000172317028, | |
| "max": 110.25079867243767, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": 1.5312610926727455, | |
| "min": -1.0000000521540642, | |
| "max": 1.5312610926727455, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": 110.25079867243767, | |
| "min": -30.74000172317028, | |
| "max": 110.25079867243767, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.04160692394523519, | |
| "min": 0.04160692394523519, | |
| "max": 7.747010893188417, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 2.995698524056934, | |
| "min": 2.7963957486790605, | |
| "max": 123.95217429101467, | |
| "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": "1795443571", | |
| "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]", | |
| "command_line_arguments": "/content/venv310/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids1 --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": "1795445797" | |
| }, | |
| "total": 2225.7727135590003, | |
| "count": 1, | |
| "self": 0.4780521369998496, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.018248501000016404, | |
| "count": 1, | |
| "self": 0.018248501000016404 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 2225.2764129210004, | |
| "count": 1, | |
| "self": 1.3529622099317749, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 2.280067105999933, | |
| "count": 1, | |
| "self": 2.280067105999933 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 2221.5668970210686, | |
| "count": 63468, | |
| "self": 1.4199042550731065, | |
| "children": { | |
| "env_step": { | |
| "total": 1564.4261375310898, | |
| "count": 63468, | |
| "self": 1414.1202029971842, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 149.46011502597366, | |
| "count": 63468, | |
| "self": 4.807527582097464, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 144.6525874438762, | |
| "count": 62569, | |
| "self": 144.6525874438762 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 0.8458195079319921, | |
| "count": 63468, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 2219.56662861897, | |
| "count": 63468, | |
| "is_parallel": true, | |
| "self": 920.6138078960107, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.0018305240000699996, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005886809994990472, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0012418430005709524, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0012418430005709524 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.04733432300008644, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005161640006008383, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.00046692899968547863, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00046692899968547863 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.044625262999943516, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.044625262999943516 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.0017259669998566096, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0003689079990181199, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0013570590008384897, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0013570590008384897 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 1298.9528207229591, | |
| "count": 63467, | |
| "is_parallel": true, | |
| "self": 33.75171046300966, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 22.554159643053936, | |
| "count": 63467, | |
| "is_parallel": true, | |
| "self": 22.554159643053936 | |
| }, | |
| "communicator.exchange": { | |
| "total": 1134.8478519339264, | |
| "count": 63467, | |
| "is_parallel": true, | |
| "self": 1134.8478519339264 | |
| }, | |
| "steps_from_proto": { | |
| "total": 107.79909868296909, | |
| "count": 63467, | |
| "is_parallel": true, | |
| "self": 23.13288362070989, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 84.6662150622592, | |
| "count": 507736, | |
| "is_parallel": true, | |
| "self": 84.6662150622592 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 655.7208552349057, | |
| "count": 63468, | |
| "self": 2.475092228889025, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 116.20035315301857, | |
| "count": 63468, | |
| "self": 116.01385159501888, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.1865015579996907, | |
| "count": 2, | |
| "self": 0.1865015579996907 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 537.0454098529981, | |
| "count": 446, | |
| "self": 301.4988750489679, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 235.54653480403022, | |
| "count": 22785, | |
| "self": 235.54653480403022 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.2840000636060722e-06, | |
| "count": 1, | |
| "self": 1.2840000636060722e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.07648530000005849, | |
| "count": 1, | |
| "self": 0.0011075649999838788, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.07537773500007461, | |
| "count": 1, | |
| "self": 0.07537773500007461 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |