Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Run this model with HF Jobs
Run chenkaiju/ppo-Pyramids on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/chenkaiju/ppo-Pyramids. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/chenkaiju/ppo-Pyramids on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use chenkaiju/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use chenkaiju/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="chenkaiju/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
chenkaiju commited on
Commit ·
97e5948
1
Parent(s): 271fac8
First Push
Browse filesFiles changed (15)
- Pyramids.onnxAdded+3
- Pyramids/Pyramids-1000021.onnxAdded+3
- Pyramids/Pyramids-1000021.ptAdded+3
- Pyramids/Pyramids-499889.onnxAdded+3
- Pyramids/Pyramids-499889.ptAdded+3
- Pyramids/Pyramids-999952.onnxAdded+3
- Pyramids/Pyramids-999952.ptAdded+3
- Pyramids/checkpoint.ptAdded+3
- Pyramids/events.out.tfevents.1692603498.ml2-System-Product-Name.42399.0Added+3
- README.mdAdded+35
- config.jsonAdded+1
- configuration.yamlAdded+90
- 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:78ad1013bf8130aab558ac875e066ffbe56a98cd69f1ad5c006213bb2950fc17size 1418184123version https://git-lfs.github.com/spec/v1oid sha256:78ad1013bf8130aab558ac875e066ffbe56a98cd69f1ad5c006213bb2950fc17size 1418184123version https://git-lfs.github.com/spec/v1oid sha256:70fae70ce80015396519affece9a00461935763a3c366b853ca9d71ebbb72e16size 8650990123version https://git-lfs.github.com/spec/v1oid sha256:1f109cc571272aeb2ba83bd1a70e56ec4f38e726b8aabef4e6ce67015d74bd2bsize 1418184123version https://git-lfs.github.com/spec/v1oid sha256:58e3519e52055010b4e4e20440ffa87d611ac0874c076c737297e3fe1a0a1c4bsize 8650990123version https://git-lfs.github.com/spec/v1oid sha256:78ad1013bf8130aab558ac875e066ffbe56a98cd69f1ad5c006213bb2950fc17size 1418184123version https://git-lfs.github.com/spec/v1oid sha256:2e32b896b2bd467a91fb3b0f12fe558485ff4a996455b41a7e101d48e88899b5size 8650990123version https://git-lfs.github.com/spec/v1oid sha256:70fae70ce80015396519affece9a00461935763a3c366b853ca9d71ebbb72e16size 8650990123version https://git-lfs.github.com/spec/v1oid sha256:436a48966b6e9f6055a77f5d6607fd897f7a56c871ea5964bb8d8990f088216bsize 3331071234567891011121314151617181920212223242526272829303132333435---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: kasperchen/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, "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}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Pyramids Training", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990default_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 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: trueenvironment_parameters: nullcheckpoint_settings: run_id: Pyramids Training initialize_from: null load_model: false resume: false force: false train_model: false inference: false results_dir: resultstorch_settings: device: nulldebug: false123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327Mono path[0] = '/home/ml2/Nogle-trading/huggingface-rlcourse/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'Mono config path = '/home/ml2/Nogle-trading/huggingface-rlcourse/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'Found 2 interfaces on host : 0) 10.1.20.76 1) 172.17.0.1Multi-casting "[IP] 10.1.20.76 [Port] 55502 [Flags] 2 [Guid] 651569186 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,10.1.20.76) [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: /home/ml2/.config/unity3d/Unity TechnologiesPlayerPrefs - Creating folder: /home/ml2/.config/unity3d/Unity Technologies/UnityEnvironmentUnable to load player prefsInitialize engine version: 2021.3.5f1 (40eb3a945986)[Subsystems] Discovering subsystems at path /home/ml2/Nogle-trading/huggingface-rlcourse/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 TechnologiesBegin MonoManager ReloadAssembly- Completed reload, in 0.074 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.683157 msERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)requesting resize 84 x 84Setting up 4 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]: 6139 frames, [32.0 KB-64.0 KB]: 10432 frames, [64.0 KB-128.0 KB]: 2196 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_Job.Worker 4] 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 6] 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 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 B Overflow Count 0 [ALLOC_TEMP_Loading.PreloadManager] Initial Block Size 256.0 KB Current Block Size 320.0 KB Peak Allocated Bytes 251.6 KB Overflow Count 4 [ALLOC_TEMP_AUDIO_FMOD PulseAudio Mixer] Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Profiler.Dispatcher] Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 0.9 KB Overflow Count 0 [ALLOC_TEMP_Job.Worker 3] 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 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 7 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_Job.Worker 6] Initial Block Size 256.0 KB Current Block Size 256.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_TEMP_Job.Worker 5] Initial Block Size 256.0 KB Current Block Size 256.0 KB Peak Allocated Bytes 0.8 KB 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 4 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 136 B Overflow Count 0[ALLOC_MEMORYPROFILER] Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18469 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 11774 [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]: 18767 frames Requested Block Size 16.0 MB Peak Block count 3 Peak Allocated memory 30.5 MB Peak Large allocation bytes 0 B [ALLOC_DEFAULT_THREAD] Peak usage frame count: [16.0 MB-32.0 MB]: 18768 frames Requested Block Size 16.0 MB Peak Block count 1 Peak Allocated memory 25.5 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]: 18767 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]: 18768 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]: 18469 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]: 18767 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]: 18768 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]: 18768 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]: 18768 frames Requested Block Size 16.0 MB Peak Block count 1 Peak Allocated memory 31.4 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":1692604894134,"processId":42436,"allocatedMemory":1976251,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34628},{"Manager":13967},{"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":3585},{"DynamicArray":30868},{"HashMap":7680},{"Utility":3808},{"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.5753702521324158, "min": 0.5753702521324158, "max": 1.4426660537719727, "count": 33 }, "Pyramids.Policy.Entropy.sum": { "value": 17196.666015625, "min": 17196.666015625, "max": 43764.71875, "count": 33 }, "Pyramids.Step.mean": { "value": 989913.0, "min": 29952.0, "max": 989913.0, "count": 33 }, "Pyramids.Step.sum": { "value": 989913.0, "min": 29952.0, "max": 989913.0, "count": 33 }, "Pyramids.Policy.ExtrinsicValueEstimate.mean": { "value": 0.40613117814064026, "min": -0.15026439726352692, "max": 0.45144471526145935, "count": 33 }, "Pyramids.Policy.ExtrinsicValueEstimate.sum": { "value": 108.03089141845703, "min": -35.61266326904297, "max": 119.63285064697266, "count": 33 }, "Pyramids.Policy.RndValueEstimate.mean": { "value": -0.009124238044023514, "min": -0.029045553877949715, "max": 0.4384632408618927, "count": 33 }, "Pyramids.Policy.RndValueEstimate.sum": { "value": -2.4270472526550293, "min": -7.580889701843262, "max": 103.91578674316406, "count": 33 }, "Pyramids.Losses.PolicyLoss.mean": { "value": 0.067655319017319, "min": 0.06487469409242877, "max": 0.07474114674027652, "count": 33 }, "Pyramids.Losses.PolicyLoss.sum": { "value": 0.9471744662424659, "min": 0.5231880271819356, "max": 1.0233216122929556, "count": 33 }, "Pyramids.Losses.ValueLoss.mean": { "value": 0.016190533736673885, "min": 0.00019880942596791793, "max": 0.016190533736673885, "count": 33 }, "Pyramids.Losses.ValueLoss.sum": { "value": 0.2266674723134344, "min": 0.002584522537582933, "max": 0.2266674723134344, "count": 33 }, "Pyramids.Policy.LearningRate.mean": { "value": 7.739411705942855e-06, "min": 7.739411705942855e-06, "max": 0.00029515063018788575, "count": 33 }, "Pyramids.Policy.LearningRate.sum": { "value": 0.00010835176388319997, "min": 0.00010835176388319997, "max": 0.0036324049891983995, "count": 33 }, "Pyramids.Policy.Epsilon.mean": { "value": 0.10257977142857143, "min": 0.10257977142857143, "max": 0.19838354285714285, "count": 33 }, "Pyramids.Policy.Epsilon.sum": { "value": 1.4361168, "min": 1.3886848, "max": 2.6108016000000003, "count": 33 }, "Pyramids.Policy.Beta.mean": { "value": 0.0002677191657142857, "min": 0.0002677191657142857, "max": 0.00983851593142857, "count": 33 }, "Pyramids.Policy.Beta.sum": { "value": 0.0037480683199999994, "min": 0.0037480683199999994, "max": 0.12109907984, "count": 33 }, "Pyramids.Losses.RNDLoss.mean": { "value": 0.012992961332201958, "min": 0.012440472841262817, "max": 0.5060054063796997, "count": 33 }, "Pyramids.Losses.RNDLoss.sum": { "value": 0.1819014549255371, "min": 0.17416661977767944, "max": 3.5420379638671875, "count": 33 }, "Pyramids.Environment.EpisodeLength.mean": { "value": 443.8235294117647, "min": 430.6811594202899, "max": 999.0, "count": 33 }, "Pyramids.Environment.EpisodeLength.sum": { "value": 30180.0, "min": 15984.0, "max": 32798.0, "count": 33 }, "Pyramids.Environment.CumulativeReward.mean": { "value": 1.4720869349396748, "min": -1.0000000521540642, "max": 1.4720869349396748, "count": 33 }, "Pyramids.Environment.CumulativeReward.sum": { "value": 101.57399851083755, "min": -28.30140160769224, "max": 101.57399851083755, "count": 33 }, "Pyramids.Policy.ExtrinsicReward.mean": { "value": 1.4720869349396748, "min": -1.0000000521540642, "max": 1.4720869349396748, "count": 33 }, "Pyramids.Policy.ExtrinsicReward.sum": { "value": 101.57399851083755, "min": -28.30140160769224, "max": 101.57399851083755, "count": 33 }, "Pyramids.Policy.RndReward.mean": { "value": 0.05971444080173767, "min": 0.05739739864679216, "max": 10.715156993828714, "count": 33 }, "Pyramids.Policy.RndReward.sum": { "value": 4.120296415319899, "min": 3.7882283106882824, "max": 171.44251190125942, "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": "1692603496", "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]", "command_line_arguments": "/home/ml2/anaconda3/envs/huggingface/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics", "mlagents_version": "0.31.0.dev0", "mlagents_envs_version": "0.31.0.dev0", "communication_protocol_version": "1.5.0", "pytorch_version": "1.11.0+cu102", "numpy_version": "1.21.2", "end_time_seconds": "1692604894" }, "total": 1397.3712858830113, "count": 1, "self": 0.2696390420314856, "children": { "run_training.setup": { "total": 0.014146807952784002, "count": 1, "self": 0.014146807952784002 }, "TrainerController.start_learning": { "total": 1397.087500033027, "count": 1, "self": 1.2207513459725305, "children": { "TrainerController._reset_env": { "total": 3.931215503020212, "count": 1, "self": 3.931215503020212 }, "TrainerController.advance": { "total": 1391.8571872240864, "count": 63521, "self": 1.151954012166243, "children": { "env_step": { "total": 907.7625118871802, "count": 63521, "self": 811.6470469153719, "children": { "SubprocessEnvManager._take_step": { "total": 95.32783755863784, "count": 63521, "self": 3.599782832839992, "children": { "TorchPolicy.evaluate": { "total": 91.72805472579785, "count": 62558, "self": 91.72805472579785 } } }, "workers": { "total": 0.7876274131704122, "count": 63521, "self": 0.0, "children": { "worker_root": { "total": 1395.1051624785177, "count": 63521, "is_parallel": true, "self": 669.1663743341342, "children": { "run_training.setup": { "total": 0.0, "count": 0, "is_parallel": true, "self": 0.0, "children": { "steps_from_proto": { "total": 0.0011529979528859258, "count": 1, "is_parallel": true, "self": 0.0003218860365450382, "children": { "_process_rank_one_or_two_observation": { "total": 0.0008311119163408875, "count": 8, "is_parallel": true, "self": 0.0008311119163408875 } } }, "UnityEnvironment.step": { "total": 0.03720399102894589, "count": 1, "is_parallel": true, "self": 0.0006220769137144089, "children": { "UnityEnvironment._generate_step_input": { "total": 0.00020581204444169998, "count": 1, "is_parallel": true, "self": 0.00020581204444169998 }, "communicator.exchange": { "total": 0.03521048603579402, "count": 1, "is_parallel": true, "self": 0.03521048603579402 }, "steps_from_proto": { "total": 0.0011656160349957645, "count": 1, "is_parallel": true, "self": 0.00023042107932269573, "children": { "_process_rank_one_or_two_observation": { "total": 0.0009351949556730688, "count": 8, "is_parallel": true, "self": 0.0009351949556730688 } } } } } } }, "UnityEnvironment.step": { "total": 725.9387881443836, "count": 63520, "is_parallel": true, "self": 24.92760451254435, "children": { "UnityEnvironment._generate_step_input": { "total": 15.41701837774599, "count": 63520, "is_parallel": true, "self": 15.41701837774599 }, "communicator.exchange": { "total": 617.5892663678969, "count": 63520, "is_parallel": true, "self": 617.5892663678969 }, "steps_from_proto": { "total": 68.00489888619632, "count": 63520, "is_parallel": true, "self": 13.149956691544503, "children": { "_process_rank_one_or_two_observation": { "total": 54.85494219465181, "count": 508160, "is_parallel": true, "self": 54.85494219465181 } } } } } } } } } } }, "trainer_advance": { "total": 482.94272132474, "count": 63521, "self": 2.285724444547668, "children": { "process_trajectory": { "total": 79.77023568394361, "count": 63521, "self": 79.60781575995497, "children": { "RLTrainer._checkpoint": { "total": 0.16241992398863658, "count": 2, "self": 0.16241992398863658 } } }, "_update_policy": { "total": 400.8867611962487, "count": 453, "self": 251.70911804697243, "children": { "TorchPPOOptimizer.update": { "total": 149.17764314927626, "count": 22776, "self": 149.17764314927626 } } } } } } }, "trainer_threads": { "total": 6.789923645555973e-07, "count": 1, "self": 6.789923645555973e-07 }, "TrainerController._save_models": { "total": 0.0783452809555456, "count": 1, "self": 0.0010301759466528893, "children": { "RLTrainer._checkpoint": { "total": 0.07731510500889271, "count": 1, "self": 0.07731510500889271 } } } } } }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ "Pyramids": { "checkpoints": [ { "steps": 499889, "file_path": "results/Pyramids Training/Pyramids/Pyramids-499889.onnx", "reward": null, "creation_time": 1692604174.2669914, "auxillary_file_paths": [ "results/Pyramids Training/Pyramids/Pyramids-499889.pt" ] }, { "steps": 999952, "file_path": "results/Pyramids Training/Pyramids/Pyramids-999952.onnx", "reward": 1.6797499917447567, "creation_time": 1692604893.7981641, "auxillary_file_paths": [ "results/Pyramids Training/Pyramids/Pyramids-999952.pt" ] }, { "steps": 1000021, "file_path": "results/Pyramids Training/Pyramids/Pyramids-1000021.onnx", "reward": 1.7046000003814696, "creation_time": 1692604893.8821633, "auxillary_file_paths": [ "results/Pyramids Training/Pyramids/Pyramids-1000021.pt" ] } ], "final_checkpoint": { "steps": 1000021, "file_path": "results/Pyramids Training/Pyramids.onnx", "reward": 1.7046000003814696, "creation_time": 1692604893.8821633, "auxillary_file_paths": [ "results/Pyramids Training/Pyramids/Pyramids-1000021.pt" ] } }, "metadata": { "stats_format_version": "0.3.0", "mlagents_version": "0.31.0.dev0", "torch_version": "1.11.0+cu102" }}Pyramids.onnxAdded+3
Pyramids/Pyramids-1000021.onnxAdded+3
Pyramids/Pyramids-1000021.ptAdded+3
Pyramids/Pyramids-499889.onnxAdded+3
Pyramids/Pyramids-499889.ptAdded+3
Pyramids/Pyramids-999952.onnxAdded+3
Pyramids/Pyramids-999952.ptAdded+3
Pyramids/checkpoint.ptAdded+3
Pyramids/events.out.tfevents.1692603498.ml2-System-Product-Name.42399.0Added+3
README.mdAdded+35
config.jsonAdded+1
configuration.yamlAdded+90
run_logs/Player-0.logAdded+327
run_logs/timers.jsonAdded+398
run_logs/training_status.jsonAdded+47