Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Instructions to use mriusero/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use mriusero/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="mriusero/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Initial commit
Browse filesFiles changed (15)
- Pyramids.onnxAdded+3
- Pyramids/Pyramids-1000063.onnxAdded+3
- Pyramids/Pyramids-1000063.ptAdded+3
- Pyramids/Pyramids-499907.onnxAdded+3
- Pyramids/Pyramids-499907.ptAdded+3
- Pyramids/Pyramids-999935.onnxAdded+3
- Pyramids/Pyramids-999935.ptAdded+3
- Pyramids/checkpoint.ptAdded+3
- Pyramids/events.out.tfevents.1743006413.d6962b5a41f8.346.0Added+3
- README.mdAdded+35
- config.jsonAdded+1
- configuration.yamlAdded+92
- run_logs/Player-0.logAdded+327
- run_logs/timers.jsonAdded+398
- run_logs/training_status.jsonAdded+47
123version https://git-lfs.github.com/spec/v1oid sha256:3592ca6de77a775d8d422ec6ea75f0cffe8f1a00ff89e213367a44648b895c98size 1420238123version https://git-lfs.github.com/spec/v1oid sha256:3592ca6de77a775d8d422ec6ea75f0cffe8f1a00ff89e213367a44648b895c98size 1420238123version https://git-lfs.github.com/spec/v1oid sha256:510313689015e8848defe41b9309f951ccd71248099eaccf57e6af3265c74865size 8656252123version https://git-lfs.github.com/spec/v1oid sha256:11f67b106447cc95d7e846eed73e909c8022468c94c8cf1502d94062f30be254size 1420238123version https://git-lfs.github.com/spec/v1oid sha256:170c44511e91d088b2f24c2e0bbe45f9070f4ac9d02040aa5d0e1f9e7531a235size 8656173123version https://git-lfs.github.com/spec/v1oid sha256:3592ca6de77a775d8d422ec6ea75f0cffe8f1a00ff89e213367a44648b895c98size 1420238123version https://git-lfs.github.com/spec/v1oid sha256:9e7facb97bd957624f48fde19591725b840ec3a44e75c302ae24a7a9195256e1size 8656173123version https://git-lfs.github.com/spec/v1oid sha256:fda0271a0cd67a88c2f2ec35ea32bfbf030ded409fc3e498662a675f32294322size 8655778123version https://git-lfs.github.com/spec/v1oid sha256:11fba5bad7797632a65dd18345bf90e1b60c76fa335cb2acd46b0cb03655b1b2size 3235981234567891011121314151617181920212223242526272829303132333435---library_name: ml-agentstags:- Pyramids- deep-reinforcement-learning- reinforcement-learning- ML-Agents-Pyramids---
# **ppo** Agent playing **Pyramids** This is a trained model of a **ppo** agent playing **Pyramids** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
## Usage (with ML-Agents) The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub: - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction - A *longer tutorial* to understand how works ML-Agents: https://huggingface.co/learn/deep-rl-course/unit5/introduction
### Resume the training ```bash mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume ```
### Watch your Agent play You can watch your agent **playing directly in your browser**
1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity 2. Step 1: Find your model_id: mriusero/ppo-Pyramids 3. Step 2: Select your *.nn /*.onnx file 4. Click on Watch the agent play 👀 1{"default_settings": null, "behaviors": {"Pyramids": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.01, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}, "rnd": {"gamma": 0.99, "strength": 0.01, "network_settings": {"normalize": false, "hidden_units": 64, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "learning_rate": 0.0001, "encoding_size": null}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 1000000, "time_horizon": 128, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/Pyramids/Pyramids", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Pyramids1", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192default_settings: nullbehaviors: Pyramids: trainer_type: ppo hyperparameters: batch_size: 128 buffer_size: 2048 learning_rate: 0.0003 beta: 0.01 epsilon: 0.2 lambd: 0.95 num_epoch: 3 shared_critic: false learning_rate_schedule: linear beta_schedule: linear epsilon_schedule: linear checkpoint_interval: 500000 network_settings: normalize: false hidden_units: 512 num_layers: 2 vis_encode_type: simple memory: null goal_conditioning_type: hyper deterministic: false reward_signals: extrinsic: gamma: 0.99 strength: 1.0 network_settings: normalize: false hidden_units: 128 num_layers: 2 vis_encode_type: simple memory: null goal_conditioning_type: hyper deterministic: false rnd: gamma: 0.99 strength: 0.01 network_settings: normalize: false hidden_units: 64 num_layers: 3 vis_encode_type: simple memory: null goal_conditioning_type: hyper deterministic: false learning_rate: 0.0001 encoding_size: null init_path: null keep_checkpoints: 5 even_checkpoints: false max_steps: 1000000 time_horizon: 128 summary_freq: 30000 threaded: false self_play: null behavioral_cloning: nullenv_settings: env_path: ./training-envs-executables/linux/Pyramids/Pyramids env_args: null base_port: 5005 num_envs: 1 num_areas: 1 timeout_wait: 60 seed: -1 max_lifetime_restarts: 10 restarts_rate_limit_n: 1 restarts_rate_limit_period_s: 60engine_settings: width: 84 height: 84 quality_level: 5 time_scale: 20 target_frame_rate: -1 capture_frame_rate: 60 no_graphics: true no_graphics_monitor: falseenvironment_parameters: nullcheckpoint_settings: run_id: Pyramids1 initialize_from: null load_model: false resume: false force: false train_model: false inference: false results_dir: resultstorch_settings: device: nulldebug: false123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327Mono path[0] = '/kaggle/working/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'Mono config path = '/kaggle/working/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'Found 1 interfaces on host : 0) 172.19.2.2Multi-casting "[IP] 172.19.2.2 [Port] 55065 [Flags] 2 [Guid] 2727875654 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,172.19.2.2) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...Preloaded 'lib_burst_generated.so'Preloaded 'libgrpc_csharp_ext.x64.so'PlayerPrefs - Creating folder: /root/.config/unity3d/Unity TechnologiesPlayerPrefs - Creating folder: /root/.config/unity3d/Unity Technologies/UnityEnvironmentUnable to load player prefsInitialize engine version: 2021.3.5f1 (40eb3a945986)[Subsystems] Discovering subsystems at path /kaggle/working/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/UnitySubsystemsForcing GfxDevice: NullGfxDevice: creating device client; threaded=0; jobified=0NullGfxDevice: Version: NULL 1.0 [1.0] Renderer: Null Device Vendor: Unity TechnologiesALSA lib confmisc.c:855:(parse_card) cannot find card '0'ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directoryALSA lib confmisc.c:422:(snd_func_concat) error evaluating stringsALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directoryALSA lib confmisc.c:1334:(snd_func_refer) error evaluating nameALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directoryALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directoryALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM defaultFMOD failed to initialize the output device.: "Error initializing output device. " (60)Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000ALSA lib confmisc.c:855:(parse_card) cannot find card '0'ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directoryALSA lib confmisc.c:422:(snd_func_concat) error evaluating stringsALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directoryALSA lib confmisc.c:1334:(snd_func_refer) error evaluating nameALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directoryALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directoryALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM defaultFMOD failed to initialize the output device.: "Error initializing output device. " (60)FMOD initialized on nosound outputBegin MonoManager ReloadAssembly- Completed reload, in 0.103 secondsERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removedWARNING: Shader Did you use #pragma only_renderers and omit this platform?WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removedWARNING: Shader Did you use #pragma only_renderers and omit this platform?WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removedWARNING: Shader Did you use #pragma only_renderers and omit this platform?WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removedWARNING: Shader Did you use #pragma only_renderers and omit this platform?WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removedWARNING: Shader Did you use #pragma only_renderers and omit this platform?WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removedWARNING: Shader Did you use #pragma only_renderers and omit this platform?WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?WARNING: Shader Unsupported: 'Standard' - All subshaders removedWARNING: Shader Did you use #pragma only_renderers and omit this platform?WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Standard' - All subshaders removedWARNING: Shader Did you use #pragma only_renderers and omit this platform?WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?UnloadTime: 0.918657 msERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)requesting resize 84 x 84Setting up 2 worker threads for Enlighten.PlayerConnection::CleanupMemory Statistics:[ALLOC_TEMP_TLS] TLS Allocator StackAllocators : [ALLOC_TEMP_MAIN] Peak usage frame count: [16.0 KB-32.0 KB]: 3449 frames, [32.0 KB-64.0 KB]: 12838 frames, [64.0 KB-128.0 KB]: 2477 frames, [2.0 MB-4.0 MB]: 1 frames Initial Block Size 4.0 MB Current Block Size 4.0 MB Peak Allocated Bytes 2.0 MB Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 8] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 10] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 6] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_AUDIO_FMOD mixer thread] Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 1] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 11] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 3] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_BatchDeleteObjects] Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_AUDIO_FMOD stream thread] Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 2] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 7] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 15] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Job.Worker 1] Initial Block Size 256.0 KB Current Block Size 256.0 KB Peak Allocated Bytes 0.8 KB Overflow Count 0 [ALLOC_TEMP_Loading.PreloadManager] Initial Block Size 256.0 KB Current Block Size 320.0 KB Peak Allocated Bytes 251.5 KB Overflow Count 4 [ALLOC_TEMP_Profiler.Dispatcher] Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 12] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3 Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 5] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 13] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Job.Worker 2] Initial Block Size 256.0 KB Current Block Size 256.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 0] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 4] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Job.Worker 0] Initial Block Size 256.0 KB Current Block Size 256.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 9] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Background Job.Worker 14] Initial Block Size 32.0 KB Current Block Size 32.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_EnlightenWorker] x 2 Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Loading.AsyncRead] Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 128 B Overflow Count 0[ALLOC_MEMORYPROFILER] Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18466 frames Requested Block Size 1.0 MB Peak Block count 2 Peak Allocated memory 1.6 MB Peak Large allocation bytes 0 B[ALLOC_DEFAULT] Dual Thread Allocator Peak main deferred allocation count 12451 [ALLOC_BUCKET] Large Block size 4.0 MB Used Block count 1 Peak Allocated bytes 1.7 MB [ALLOC_DEFAULT_MAIN] Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 18764 frames Requested Block Size 16.0 MB Peak Block count 3 Peak Allocated memory 31.9 MB Peak Large allocation bytes 0 B [ALLOC_DEFAULT_THREAD] Peak usage frame count: [16.0 MB-32.0 MB]: 18765 frames Requested Block Size 16.0 MB Peak Block count 1 Peak Allocated memory 23.0 MB Peak Large allocation bytes 16.0 MB[ALLOC_TEMP_JOB_1_FRAME] Initial Block Size 2.0 MB Used Block Count 1 Overflow Count (too large) 0 Overflow Count (full) 0[ALLOC_TEMP_JOB_2_FRAMES] Initial Block Size 2.0 MB Used Block Count 1 Overflow Count (too large) 0 Overflow Count (full) 0[ALLOC_TEMP_JOB_4_FRAMES (JobTemp)] Initial Block Size 2.0 MB Used Block Count 2 Overflow Count (too large) 0 Overflow Count (full) 0[ALLOC_TEMP_JOB_ASYNC (Background)] Initial Block Size 1.0 MB Used Block Count 3 Overflow Count (too large) 0 Overflow Count (full) 0[ALLOC_GFX] Dual Thread Allocator Peak main deferred allocation count 0 [ALLOC_BUCKET] Large Block size 4.0 MB Used Block count 1 Peak Allocated bytes 1.7 MB [ALLOC_GFX_MAIN] Peak usage frame count: [32.0 KB-64.0 KB]: 18764 frames, [64.0 KB-128.0 KB]: 1 frames Requested Block Size 16.0 MB Peak Block count 1 Peak Allocated memory 67.0 KB Peak Large allocation bytes 0 B [ALLOC_GFX_THREAD] Peak usage frame count: [64.0 KB-128.0 KB]: 18765 frames Requested Block Size 16.0 MB Peak Block count 1 Peak Allocated memory 67.7 KB Peak Large allocation bytes 0 B[ALLOC_CACHEOBJECTS] Dual Thread Allocator Peak main deferred allocation count 1 [ALLOC_BUCKET] Large Block size 4.0 MB Used Block count 1 Peak Allocated bytes 1.7 MB [ALLOC_CACHEOBJECTS_MAIN] Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18466 frames Requested Block Size 4.0 MB Peak Block count 1 Peak Allocated memory 1.4 MB Peak Large allocation bytes 0 B [ALLOC_CACHEOBJECTS_THREAD] Peak usage frame count: [1.0 MB-2.0 MB]: 18764 frames, [4.0 MB-8.0 MB]: 1 frames Requested Block Size 4.0 MB Peak Block count 2 Peak Allocated memory 4.7 MB Peak Large allocation bytes 0 B[ALLOC_TYPETREE] Dual Thread Allocator Peak main deferred allocation count 0 [ALLOC_BUCKET] Large Block size 4.0 MB Used Block count 1 Peak Allocated bytes 1.7 MB [ALLOC_TYPETREE_MAIN] Peak usage frame count: [0-1.0 KB]: 18765 frames Requested Block Size 2.0 MB Peak Block count 1 Peak Allocated memory 1.0 KB Peak Large allocation bytes 0 B [ALLOC_TYPETREE_THREAD] Peak usage frame count: [1.0 KB-2.0 KB]: 18765 frames Requested Block Size 2.0 MB Peak Block count 1 Peak Allocated memory 1.9 KB Peak Large allocation bytes 0 B[ALLOC_PROFILER] Peak usage frame count: [16.0 KB-32.0 KB]: 18765 frames Requested Block Size 16.0 MB Peak Block count 1 Peak Allocated memory 29.5 KB Peak Large allocation bytes 0 B [ALLOC_PROFILER_BUCKET] Large Block size 4.0 MB Used Block count 1 Peak Allocated bytes 396 B##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1743008095016,"processId":359,"allocatedMemory":1972146,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34516},{"Manager":11723},{"VertexData":12},{"Geometry":280},{"Texture":16},{"Shader":69173},{"Material":24},{"GfxDevice":35248},{"Animation":304},{"Audio":3976},{"Physics":288},{"Serialization":216},{"Input":9176},{"JobScheduler":200},{"Mono":40},{"ScriptingNativeRuntime":216},{"BaseObject":1609212},{"Resource":592},{"Renderer":1936},{"Transform":48},{"File":800},{"WebCam":24},{"Culling":40},{"Terrain":953},{"Wind":24},{"String":3468},{"DynamicArray":30868},{"HashMap":7680},{"Utility":2176},{"PoolAlloc":1160},{"TypeTree":1792},{"ScriptManager":80},{"RuntimeInitializeOnLoadManager":72},{"SpriteAtlas":112},{"GI":3272},{"Unet":16},{"Director":7760},{"WebRequest":720},{"VR":45473},{"SceneManager":424},{"Video":32},{"LazyScriptCache":32},{"NativeArray":384},{"Camera":25},{"Secure":1},{"SerializationCache":624},{"APIUpdating":5872},{"Subsystems":384},{"VirtualTexturing":57552},{"AssetReference":32}]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398{ "name": "root", "gauges": { "Pyramids.Policy.Entropy.mean": { "value": 0.4383748471736908, "min": 0.4383748471736908, "max": 1.5374524593353271, "count": 33 }, "Pyramids.Policy.Entropy.sum": { "value": 13193.3291015625, "min": 13193.3291015625, "max": 46640.15625, "count": 33 }, "Pyramids.Step.mean": { "value": 989936.0, "min": 29952.0, "max": 989936.0, "count": 33 }, "Pyramids.Step.sum": { "value": 989936.0, "min": 29952.0, "max": 989936.0, "count": 33 }, "Pyramids.Policy.ExtrinsicValueEstimate.mean": { "value": 0.5079846978187561, "min": -0.22263436019420624, "max": 0.5079846978187561, "count": 33 }, "Pyramids.Policy.ExtrinsicValueEstimate.sum": { "value": 140.2037811279297, "min": -52.76434326171875, "max": 140.2037811279297, "count": 33 }, "Pyramids.Policy.RndValueEstimate.mean": { "value": 0.015380463562905788, "min": -0.0013826994691044092, "max": 0.4471650719642639, "count": 33 }, "Pyramids.Policy.RndValueEstimate.sum": { "value": 4.2450079917907715, "min": -0.33737868070602417, "max": 105.97811889648438, "count": 33 }, "Pyramids.Losses.PolicyLoss.mean": { "value": 0.06767598536163051, "min": 0.06614082330828643, "max": 0.0750729314328585, "count": 33 }, "Pyramids.Losses.PolicyLoss.sum": { "value": 1.0151397804244577, "min": 0.5082534573853134, "max": 1.0510210400600188, "count": 33 }, "Pyramids.Losses.ValueLoss.mean": { "value": 0.01583725335205802, "min": 0.000370919254713319, "max": 0.01583725335205802, "count": 33 }, "Pyramids.Losses.ValueLoss.sum": { "value": 0.23755880028087029, "min": 0.004821950311273147, "max": 0.23755880028087029, "count": 33 }, "Pyramids.Policy.LearningRate.mean": { "value": 7.510277496606667e-06, "min": 7.510277496606667e-06, "max": 0.00029515063018788575, "count": 33 }, "Pyramids.Policy.LearningRate.sum": { "value": 0.0001126541624491, "min": 0.0001126541624491, "max": 0.0032528627157125, "count": 33 }, "Pyramids.Policy.Epsilon.mean": { "value": 0.10250339333333332, "min": 0.10250339333333332, "max": 0.19838354285714285, "count": 33 }, "Pyramids.Policy.Epsilon.sum": { "value": 1.5375508999999998, "min": 1.3886848, "max": 2.4019303, "count": 33 }, "Pyramids.Policy.Beta.mean": { "value": 0.00026008899400000005, "min": 0.00026008899400000005, "max": 0.00983851593142857, "count": 33 }, "Pyramids.Policy.Beta.sum": { "value": 0.0039013349100000005, "min": 0.0039013349100000005, "max": 0.10845032125, "count": 33 }, "Pyramids.Losses.RNDLoss.mean": { "value": 0.008669668808579445, "min": 0.008669668808579445, "max": 0.2906513214111328, "count": 33 }, "Pyramids.Losses.RNDLoss.sum": { "value": 0.13004502654075623, "min": 0.12576048076152802, "max": 2.0345592498779297, "count": 33 }, "Pyramids.Environment.EpisodeLength.mean": { "value": 365.94117647058823, "min": 365.94117647058823, "max": 999.0, "count": 33 }, "Pyramids.Environment.EpisodeLength.sum": { "value": 31105.0, "min": 15984.0, "max": 32724.0, "count": 33 }, "Pyramids.Environment.CumulativeReward.mean": { "value": 1.5199325370580652, "min": -1.0000000521540642, "max": 1.5303839832544326, "count": 33 }, "Pyramids.Environment.CumulativeReward.sum": { "value": 130.7141981869936, "min": -30.999201610684395, "max": 130.7141981869936, "count": 33 }, "Pyramids.Policy.ExtrinsicReward.mean": { "value": 1.5199325370580652, "min": -1.0000000521540642, "max": 1.5303839832544326, "count": 33 }, "Pyramids.Policy.ExtrinsicReward.sum": { "value": 130.7141981869936, "min": -30.999201610684395, "max": 130.7141981869936, "count": 33 }, "Pyramids.Policy.RndReward.mean": { "value": 0.03288487576457217, "min": 0.03288487576457217, "max": 5.715780191123486, "count": 33 }, "Pyramids.Policy.RndReward.sum": { "value": 2.8280993157532066, "min": 2.705640456362744, "max": 91.45248305797577, "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": "1743006412", "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]", "command_line_arguments": "/usr/local/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.6.0+cu124", "numpy_version": "1.23.5", "end_time_seconds": "1743008095" }, "total": 1682.4043333689997, "count": 1, "self": 0.3308606430000509, "children": { "run_training.setup": { "total": 0.022087654999722872, "count": 1, "self": 0.022087654999722872 }, "TrainerController.start_learning": { "total": 1682.051385071, "count": 1, "self": 1.0957553690504938, "children": { "TrainerController._reset_env": { "total": 2.2655211070000405, "count": 1, "self": 2.2655211070000405 }, "TrainerController.advance": { "total": 1678.6008556439483, "count": 63587, "self": 1.1251304790248469, "children": { "env_step": { "total": 1094.0155611188661, "count": 63587, "self": 960.9409637176518, "children": { "SubprocessEnvManager._take_step": { "total": 132.39931852602876, "count": 63587, "self": 4.0109017480922375, "children": { "TorchPolicy.evaluate": { "total": 128.38841677793653, "count": 62549, "self": 128.38841677793653 } } }, "workers": { "total": 0.6752788751855405, "count": 63587, "self": 0.0, "children": { "worker_root": { "total": 1679.970926014007, "count": 63587, "is_parallel": true, "self": 805.1095039979891, "children": { "run_training.setup": { "total": 0.0, "count": 0, "is_parallel": true, "self": 0.0, "children": { "steps_from_proto": { "total": 0.002073827000003803, "count": 1, "is_parallel": true, "self": 0.0006601839991162706, "children": { "_process_rank_one_or_two_observation": { "total": 0.0014136430008875323, "count": 8, "is_parallel": true, "self": 0.0014136430008875323 } } }, "UnityEnvironment.step": { "total": 0.034926434000226436, "count": 1, "is_parallel": true, "self": 0.0003410270005588245, "children": { "UnityEnvironment._generate_step_input": { "total": 0.00026866500002142857, "count": 1, "is_parallel": true, "self": 0.00026866500002142857 }, "communicator.exchange": { "total": 0.033327857999665866, "count": 1, "is_parallel": true, "self": 0.033327857999665866 }, "steps_from_proto": { "total": 0.0009888839999803167, "count": 1, "is_parallel": true, "self": 0.00025690799975564005, "children": { "_process_rank_one_or_two_observation": { "total": 0.0007319760002246767, "count": 8, "is_parallel": true, "self": 0.0007319760002246767 } } } } } } }, "UnityEnvironment.step": { "total": 874.861422016018, "count": 63586, "is_parallel": true, "self": 22.39549254911799, "children": { "UnityEnvironment._generate_step_input": { "total": 15.804825727955176, "count": 63586, "is_parallel": true, "self": 15.804825727955176 }, "communicator.exchange": { "total": 767.4515109929325, "count": 63586, "is_parallel": true, "self": 767.4515109929325 }, "steps_from_proto": { "total": 69.20959274601228, "count": 63586, "is_parallel": true, "self": 14.190171379028016, "children": { "_process_rank_one_or_two_observation": { "total": 55.01942136698426, "count": 508688, "is_parallel": true, "self": 55.01942136698426 } } } } } } } } } } }, "trainer_advance": { "total": 583.4601640460573, "count": 63587, "self": 2.069307583149566, "children": { "process_trajectory": { "total": 109.05045299190988, "count": 63587, "self": 108.84455155191017, "children": { "RLTrainer._checkpoint": { "total": 0.20590143999970678, "count": 2, "self": 0.20590143999970678 } } }, "_update_policy": { "total": 472.3404034709979, "count": 443, "self": 255.27660092694668, "children": { "TorchPPOOptimizer.update": { "total": 217.0638025440512, "count": 22824, "self": 217.0638025440512 } } } } } } }, "trainer_threads": { "total": 8.80000698089134e-07, "count": 1, "self": 8.80000698089134e-07 }, "TrainerController._save_models": { "total": 0.08925207100037369, "count": 1, "self": 0.0014386470002136775, "children": { "RLTrainer._checkpoint": { "total": 0.08781342400016001, "count": 1, "self": 0.08781342400016001 } } } } } }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ "Pyramids": { "checkpoints": [ { "steps": 499907, "file_path": "results/Pyramids1/Pyramids/Pyramids-499907.onnx", "reward": 0.18404995277523994, "creation_time": 1743007209.7821343, "auxillary_file_paths": [ "results/Pyramids1/Pyramids/Pyramids-499907.pt" ] }, { "steps": 999935, "file_path": "results/Pyramids1/Pyramids/Pyramids-999935.onnx", "reward": 1.2045599967241287, "creation_time": 1743008094.613135, "auxillary_file_paths": [ "results/Pyramids1/Pyramids/Pyramids-999935.pt" ] }, { "steps": 1000063, "file_path": "results/Pyramids1/Pyramids/Pyramids-1000063.onnx", "reward": 1.2045599967241287, "creation_time": 1743008094.712968, "auxillary_file_paths": [ "results/Pyramids1/Pyramids/Pyramids-1000063.pt" ] } ], "final_checkpoint": { "steps": 1000063, "file_path": "results/Pyramids1/Pyramids.onnx", "reward": 1.2045599967241287, "creation_time": 1743008094.712968, "auxillary_file_paths": [ "results/Pyramids1/Pyramids/Pyramids-1000063.pt" ] } }, "metadata": { "stats_format_version": "0.3.0", "mlagents_version": "1.2.0.dev0", "torch_version": "2.6.0+cu124" }}Pyramids.onnxAdded+3
Pyramids/Pyramids-1000063.onnxAdded+3
Pyramids/Pyramids-1000063.ptAdded+3
Pyramids/Pyramids-499907.onnxAdded+3
Pyramids/Pyramids-499907.ptAdded+3
Pyramids/Pyramids-999935.onnxAdded+3
Pyramids/Pyramids-999935.ptAdded+3
Pyramids/checkpoint.ptAdded+3
Pyramids/events.out.tfevents.1743006413.d6962b5a41f8.346.0Added+3
README.mdAdded+35
config.jsonAdded+1
configuration.yamlAdded+92
run_logs/Player-0.logAdded+327
run_logs/timers.jsonAdded+398
run_logs/training_status.jsonAdded+47