Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Instructions to use ttttim3/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use ttttim3/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="ttttim3/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from ttttim3/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.9 kB
-
https://huggingface.co/ttttim3/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://ttttim3/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/ttttim3/ppo-Pyramids/resolve/main/run_logs/timers.json
18.9 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.3282677233219147, | |
| "min": 0.3282677233219147, | |
| "max": 1.5298337936401367, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 9884.7978515625, | |
| "min": 9884.7978515625, | |
| "max": 46409.0390625, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 989873.0, | |
| "min": 29952.0, | |
| "max": 989873.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 989873.0, | |
| "min": 29952.0, | |
| "max": 989873.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 0.49077802896499634, | |
| "min": -0.1645049750804901, | |
| "max": 0.5313803553581238, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 135.9455108642578, | |
| "min": -38.98767852783203, | |
| "max": 145.06683349609375, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.0041662417352199554, | |
| "min": -0.01399082038551569, | |
| "max": 0.23556913435459137, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 1.1540489196777344, | |
| "min": -3.8055031299591064, | |
| "max": 56.536590576171875, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06515796582245677, | |
| "min": 0.06515796582245677, | |
| "max": 0.07401015033724247, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 0.9122115215143947, | |
| "min": 0.48571376743707706, | |
| "max": 1.070701109644741, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.01587761918056583, | |
| "min": 0.00010372456172027294, | |
| "max": 0.016178980768710882, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.2222866685279216, | |
| "min": 0.0013484193023635483, | |
| "max": 0.22650573076195235, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 7.744511704242857e-06, | |
| "min": 7.744511704242857e-06, | |
| "max": 0.00029515063018788575, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.0001084231638594, | |
| "min": 0.0001084231638594, | |
| "max": 0.0033779230740256993, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.10258147142857144, | |
| "min": 0.10258147142857144, | |
| "max": 0.19838354285714285, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.4361406, | |
| "min": 1.3691136000000002, | |
| "max": 2.4259743, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.00026788899571428574, | |
| "min": 0.00026788899571428574, | |
| "max": 0.00983851593142857, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.0037504459400000004, | |
| "min": 0.0037504459400000004, | |
| "max": 0.11261483257, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.011198773048818111, | |
| "min": 0.011198773048818111, | |
| "max": 0.3309316635131836, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.1567828208208084, | |
| "min": 0.1567828208208084, | |
| "max": 2.316521644592285, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 372.6470588235294, | |
| "min": 352.7307692307692, | |
| "max": 999.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 31675.0, | |
| "min": 15984.0, | |
| "max": 33237.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": 1.4861293850576176, | |
| "min": -1.0000000521540642, | |
| "max": 1.5960885910670968, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": 126.3209977298975, | |
| "min": -32.000001668930054, | |
| "max": 126.3209977298975, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": 1.4861293850576176, | |
| "min": -1.0000000521540642, | |
| "max": 1.5960885910670968, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": 126.3209977298975, | |
| "min": -32.000001668930054, | |
| "max": 126.3209977298975, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.044290796753279314, | |
| "min": 0.042360757157807766, | |
| "max": 6.730462064966559, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 3.764717724028742, | |
| "min": 3.3464998154668137, | |
| "max": 107.68739303946495, | |
| "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": "1795745016", | |
| "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]", | |
| "command_line_arguments": "/blue/joel.harley/zhihui.tian/DRL/mlagents/.venv/bin/mlagents-learn /blue/joel.harley/zhihui.tian/DRL/mlagents/configs/PyramidsRND.yaml --env=/blue/joel.harley/zhihui.tian/DRL/mlagents/envs-bin/Pyramids/Pyramids --run-id=Pyramids1 --results-dir=/blue/joel.harley/zhihui.tian/DRL/mlagents/results --no-graphics --base-port=16645 --num-envs=1", | |
| "mlagents_version": "1.2.0.dev0", | |
| "mlagents_envs_version": "1.2.0.dev0", | |
| "communication_protocol_version": "1.5.0", | |
| "pytorch_version": "2.8.0+cpu", | |
| "numpy_version": "1.23.5", | |
| "end_time_seconds": "1795747301" | |
| }, | |
| "total": 2285.9207415750716, | |
| "count": 1, | |
| "self": 0.8414836032316089, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.1627390398643911, | |
| "count": 1, | |
| "self": 0.1627390398643911 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 2284.9165189319756, | |
| "count": 1, | |
| "self": 1.4779819431714714, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 9.011846881126985, | |
| "count": 1, | |
| "self": 9.011846881126985 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 2274.3197840447538, | |
| "count": 63646, | |
| "self": 1.1769647866021842, | |
| "children": { | |
| "env_step": { | |
| "total": 1515.3469352575485, | |
| "count": 63646, | |
| "self": 1254.7372937258333, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 259.68745264341123, | |
| "count": 63646, | |
| "self": 3.527671008836478, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 256.15978163457476, | |
| "count": 62573, | |
| "self": 256.15978163457476 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 0.9221888883039355, | |
| "count": 63646, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 2282.9538835485, | |
| "count": 63646, | |
| "is_parallel": true, | |
| "self": 1119.3964936006814, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.0020049428567290306, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005988057237118483, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0014061371330171824, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0014061371330171824 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.03613513405434787, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00040127034299075603, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.00040882290340960026, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00040882290340960026 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.034048507921397686, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.034048507921397686 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.0012765328865498304, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00040832324884831905, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0008682096377015114, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0008682096377015114 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 1163.5573899478186, | |
| "count": 63645, | |
| "is_parallel": true, | |
| "self": 23.02039162791334, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 16.36420416366309, | |
| "count": 63645, | |
| "is_parallel": true, | |
| "self": 16.36420416366309 | |
| }, | |
| "communicator.exchange": { | |
| "total": 1064.4707250907086, | |
| "count": 63645, | |
| "is_parallel": true, | |
| "self": 1064.4707250907086 | |
| }, | |
| "steps_from_proto": { | |
| "total": 59.70206906553358, | |
| "count": 63645, | |
| "is_parallel": true, | |
| "self": 12.655119627946988, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 47.04694943758659, | |
| "count": 509160, | |
| "is_parallel": true, | |
| "self": 47.04694943758659 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 757.7958840006031, | |
| "count": 63646, | |
| "self": 2.5666338314767927, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 161.12619163328782, | |
| "count": 63646, | |
| "self": 160.3022814344149, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.823910198872909, | |
| "count": 2, | |
| "self": 0.823910198872909 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 594.1030585358385, | |
| "count": 443, | |
| "self": 302.36383017967455, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 291.73922835616395, | |
| "count": 22821, | |
| "self": 291.73922835616395 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 9.420327842235565e-07, | |
| "count": 1, | |
| "self": 9.420327842235565e-07 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.10690512089058757, | |
| "count": 1, | |
| "self": 0.023249799851328135, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.08365532103925943, | |
| "count": 1, | |
| "self": 0.08365532103925943 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |