Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Instructions to use SMONICA/Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use SMONICA/Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="SMONICA/Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from SMONICA/Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/SMONICA/Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://SMONICA/Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/SMONICA/Pyramids/resolve/main/run_logs/timers.json
18.7 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.6462722420692444, | |
| "min": 0.6223404407501221, | |
| "max": 1.3924542665481567, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 19636.3359375, | |
| "min": 18829.533203125, | |
| "max": 42241.4921875, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 989965.0, | |
| "min": 29952.0, | |
| "max": 989965.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 989965.0, | |
| "min": 29952.0, | |
| "max": 989965.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 0.31533974409103394, | |
| "min": -0.08862806111574173, | |
| "max": 0.31533974409103394, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 83.24969482421875, | |
| "min": -21.44799041748047, | |
| "max": 83.24969482421875, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 1.1542028188705444, | |
| "min": -0.0407930426299572, | |
| "max": 1.1542028188705444, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 304.70953369140625, | |
| "min": -10.239053726196289, | |
| "max": 304.70953369140625, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06849883539283894, | |
| "min": 0.06485840168804242, | |
| "max": 0.07520393543591022, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 0.958983695499745, | |
| "min": 0.5122661864272607, | |
| "max": 1.0494767487096532, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.3353413480520836, | |
| "min": 0.0009211757124367246, | |
| "max": 0.3353413480520836, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 4.69477887272917, | |
| "min": 0.012896459974114144, | |
| "max": 4.69477887272917, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 7.79124740295e-06, | |
| "min": 7.79124740295e-06, | |
| "max": 0.00029515063018788575, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.0001090774636413, | |
| "min": 0.0001090774636413, | |
| "max": 0.0036338497887167987, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.10259704999999998, | |
| "min": 0.10259704999999998, | |
| "max": 0.19838354285714285, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.4363586999999998, | |
| "min": 1.3886848, | |
| "max": 2.6112832, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.00026944529500000006, | |
| "min": 0.00026944529500000006, | |
| "max": 0.00983851593142857, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.0037722341300000005, | |
| "min": 0.0037722341300000005, | |
| "max": 0.12114719167999999, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.00933485571295023, | |
| "min": 0.00865805521607399, | |
| "max": 0.5316323041915894, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.13068798184394836, | |
| "min": 0.12121277302503586, | |
| "max": 3.721426248550415, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 541.9137931034483, | |
| "min": 541.9137931034483, | |
| "max": 999.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 31431.0, | |
| "min": 15984.0, | |
| "max": 32980.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": 1.216631006449461, | |
| "min": -1.0000000521540642, | |
| "max": 1.216631006449461, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": 70.56459837406874, | |
| "min": -29.703601591289043, | |
| "max": 70.56459837406874, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": 1.216631006449461, | |
| "min": -1.0000000521540642, | |
| "max": 1.216631006449461, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": 70.56459837406874, | |
| "min": -29.703601591289043, | |
| "max": 70.56459837406874, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.051782797755330304, | |
| "min": 0.051782797755330304, | |
| "max": 11.170056167058647, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 3.0034022698091576, | |
| "min": 2.5917515286710113, | |
| "max": 178.72089867293835, | |
| "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": "1795686370", | |
| "python_version": "3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]", | |
| "command_line_arguments": "/content/mlagents-env/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": "1795689408" | |
| }, | |
| "total": 3038.6656367870005, | |
| "count": 1, | |
| "self": 0.6531004050007141, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.02782355599993025, | |
| "count": 1, | |
| "self": 0.02782355599993025 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 3037.984712826, | |
| "count": 1, | |
| "self": 2.1685382209489035, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 4.367406435000248, | |
| "count": 1, | |
| "self": 4.367406435000248 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 3031.3499171080507, | |
| "count": 63411, | |
| "self": 2.477338920906732, | |
| "children": { | |
| "env_step": { | |
| "total": 2248.8950405081737, | |
| "count": 63411, | |
| "self": 2030.8186870660693, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 216.73713003098328, | |
| "count": 63411, | |
| "self": 6.628920693911368, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 210.1082093370719, | |
| "count": 62562, | |
| "self": 210.1082093370719 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 1.339223411121111, | |
| "count": 63411, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 3030.0764420350856, | |
| "count": 63411, | |
| "is_parallel": true, | |
| "self": 1170.5926407330926, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.005413046999819926, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.003909454999757145, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0015035920000627812, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0015035920000627812 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.0693054199996368, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0007438489997184661, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.0006465269998443546, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0006465269998443546 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.06545078899989676, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.06545078899989676 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.002464255000177218, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005092779997539765, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0019549770004232414, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0019549770004232414 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 1859.483801301993, | |
| "count": 63410, | |
| "is_parallel": true, | |
| "self": 46.52264137299244, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 30.2636431690089, | |
| "count": 63410, | |
| "is_parallel": true, | |
| "self": 30.2636431690089 | |
| }, | |
| "communicator.exchange": { | |
| "total": 1632.2353835829877, | |
| "count": 63410, | |
| "is_parallel": true, | |
| "self": 1632.2353835829877 | |
| }, | |
| "steps_from_proto": { | |
| "total": 150.46213317700403, | |
| "count": 63410, | |
| "is_parallel": true, | |
| "self": 29.956412442101737, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 120.5057207349023, | |
| "count": 507280, | |
| "is_parallel": true, | |
| "self": 120.5057207349023 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 779.9775376789703, | |
| "count": 63411, | |
| "self": 4.125019726936898, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 144.18838649603867, | |
| "count": 63411, | |
| "self": 143.9233687080391, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.2650177879995681, | |
| "count": 2, | |
| "self": 0.2650177879995681 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 631.6641314559947, | |
| "count": 452, | |
| "self": 344.2072450620217, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 287.45688639397304, | |
| "count": 22722, | |
| "self": 287.45688639397304 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.1649999578366987e-06, | |
| "count": 1, | |
| "self": 1.1649999578366987e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.09884989700003644, | |
| "count": 1, | |
| "self": 0.0012848389997088816, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.09756505800032755, | |
| "count": 1, | |
| "self": 0.09756505800032755 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |