Reinforcement Learning
stable-baselines3
English
sb3-contrib
gymnasium
maskable-ppo
utdg
tower-defense
game-ai
deep-reinforcement-learning
Eval Results (legacy)
Instructions to use chrisjcc/utdg-maskableppo-policy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use chrisjcc/utdg-maskableppo-policy with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="chrisjcc/utdg-maskableppo-policy", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
Upload final trained model
Browse files- README.md +28 -16
- models/model_policy.zip +2 -2
README.md
CHANGED
|
@@ -32,7 +32,7 @@ model-index:
|
|
| 32 |
value: TBD
|
| 33 |
pipeline_tag: reinforcement-learning
|
| 34 |
metadata:
|
| 35 |
-
utc_timestamp: 2025-12-
|
| 36 |
env_name: UTDGEnv-v0
|
| 37 |
model_file: model_policy.zip
|
| 38 |
total_timesteps: 0
|
|
@@ -51,28 +51,40 @@ metadata:
|
|
| 51 |
hydra_config: |
|
| 52 |
{
|
| 53 |
"runtime": {
|
| 54 |
-
"mode": "
|
| 55 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
"type": "websocket",
|
| 57 |
-
"role": "
|
| 58 |
-
"url":
|
| 59 |
-
"timeout":
|
| 60 |
"reconnect_attempts": 3
|
| 61 |
},
|
| 62 |
"server": {
|
| 63 |
-
"enabled":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
},
|
|
|
|
| 65 |
"max_episode_steps": 5000,
|
| 66 |
"resume": false,
|
| 67 |
"checkpoint_path": "checkpoints/maskableppo_utdg_100000_steps.zip"
|
| 68 |
},
|
| 69 |
-
"server": {
|
| 70 |
-
"enabled": false,
|
| 71 |
-
"websocket_routes": {
|
| 72 |
-
"ui": "/ws",
|
| 73 |
-
"godot": "/godot"
|
| 74 |
-
}
|
| 75 |
-
},
|
| 76 |
"env": {
|
| 77 |
"observation_space": {
|
| 78 |
"include_enemy_health": true,
|
|
@@ -85,7 +97,7 @@ metadata:
|
|
| 85 |
"max_towers": 10
|
| 86 |
},
|
| 87 |
"episode": {
|
| 88 |
-
"max_episode_steps":
|
| 89 |
"truncate_on_life_lost": false,
|
| 90 |
"starting_gold": 150,
|
| 91 |
"base_health": 10
|
|
@@ -372,4 +384,4 @@ If you use this model in your research, please cite:
|
|
| 372 |
|
| 373 |
---
|
| 374 |
|
| 375 |
-
*Generated on 2025-12-
|
|
|
|
| 32 |
value: TBD
|
| 33 |
pipeline_tag: reinforcement-learning
|
| 34 |
metadata:
|
| 35 |
+
utc_timestamp: 2025-12-10T12:40:58.228214
|
| 36 |
env_name: UTDGEnv-v0
|
| 37 |
model_file: model_policy.zip
|
| 38 |
total_timesteps: 0
|
|
|
|
| 51 |
hydra_config: |
|
| 52 |
{
|
| 53 |
"runtime": {
|
| 54 |
+
"mode": "web-local",
|
| 55 |
+
"web": {
|
| 56 |
+
"enabled": true,
|
| 57 |
+
"path": "builds/web",
|
| 58 |
+
"http_port": 8080
|
| 59 |
+
},
|
| 60 |
+
"launcher": {
|
| 61 |
+
"enabled": true,
|
| 62 |
+
"mode": "local-dev",
|
| 63 |
+
"auto_port": true,
|
| 64 |
+
"browser": true,
|
| 65 |
+
"headless": false
|
| 66 |
+
},
|
| 67 |
+
"connection": {
|
| 68 |
"type": "websocket",
|
| 69 |
+
"role": "server",
|
| 70 |
+
"url": null,
|
| 71 |
+
"timeout": 60.0,
|
| 72 |
"reconnect_attempts": 3
|
| 73 |
},
|
| 74 |
"server": {
|
| 75 |
+
"enabled": true,
|
| 76 |
+
"host": "0.0.0.0",
|
| 77 |
+
"port": 8000,
|
| 78 |
+
"routes": {
|
| 79 |
+
"ui": "/ws",
|
| 80 |
+
"godot": "/godot"
|
| 81 |
+
}
|
| 82 |
},
|
| 83 |
+
"godot_path": null,
|
| 84 |
"max_episode_steps": 5000,
|
| 85 |
"resume": false,
|
| 86 |
"checkpoint_path": "checkpoints/maskableppo_utdg_100000_steps.zip"
|
| 87 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
"env": {
|
| 89 |
"observation_space": {
|
| 90 |
"include_enemy_health": true,
|
|
|
|
| 97 |
"max_towers": 10
|
| 98 |
},
|
| 99 |
"episode": {
|
| 100 |
+
"max_episode_steps": 500,
|
| 101 |
"truncate_on_life_lost": false,
|
| 102 |
"starting_gold": 150,
|
| 103 |
"base_health": 10
|
|
|
|
| 384 |
|
| 385 |
---
|
| 386 |
|
| 387 |
+
*Generated on 2025-12-10T12:40:58.228214 UTC*
|
models/model_policy.zip
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49a0840c76500674198a8c3b467b186edccf32d0c87d12ad2e9603c8c6090184
|
| 3 |
+
size 650161
|