hari13 commited on
Commit
f20d855
·
verified ·
1 Parent(s): 3836b01
This view is limited to 50 files because it contains too many changes.   See raw diff
Huggy.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35bdc162323d84c438c127d0366ec348a3ae5c725e97f950d069a290be7bd42e
3
+ size 2274019
Huggy/Huggy-1199942.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c58047bce7c5777570f890465497be4575004cce049370cc9805787db82e5d29
3
+ size 2274019
Huggy/Huggy-1199942.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dd0860152cb4c60f8a0ff13c04ee2d10a0c4b675c2300e986ee4cead390bfdf
3
+ size 13509028
Huggy/Huggy-1199948.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0786928c882991058a441f43b373ff732b5d1ed666a02d19b940d5278c4cacf2
3
+ size 2274019
Huggy/Huggy-1199948.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8c180b68f75d188a9a0d5e9691ff4600cea9d19db9034f24c5f0eb3df635a3d
3
+ size 13509028
Huggy/Huggy-1399764.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d778e3d0dd02a6ff9bfd8136a352a3f2d82c49efefe260eefb99b7547ad4156e
3
+ size 2274019
Huggy/Huggy-1399764.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2979cd06e407c1423a394ff8cc7753567e8cf76cd24c28cd230a6845d0edaa2c
3
+ size 13509028
Huggy/Huggy-1399772.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58f7916b14f89c338b2f2b954e507696f8edc6aa9157bcb0b2ff369b7fe47a6b
3
+ size 2274019
Huggy/Huggy-1399772.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5999e900c3b7db001b7c38b40f799ad06fcfb432dc4a8af9f0b100e437c7870
3
+ size 13509028
Huggy/Huggy-1599564.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4961cc3ff979d4df2d030d6edda66720e822bdf743110833cd0151f3b18664f6
3
+ size 2274019
Huggy/Huggy-1599564.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52d5557bbbdb84cab85b9d6f4f5ee4faa305a7f233d58b66829614f001e44690
3
+ size 13509028
Huggy/Huggy-1599907.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:126ee26f011d021aff40d7a96573cd93c7ca288bc36133724514c5da4eb47ff3
3
+ size 2274019
Huggy/Huggy-1599907.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6ffb6ba2557868a99a92523575315f2030099566dd726d9aeeddef53b5e20bc
3
+ size 13509028
Huggy/Huggy-1799656.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad2c48ef06ef5da86387abbfad2e72f037e24eddfa9afdff0c7f5f115de2217e
3
+ size 2274019
Huggy/Huggy-1799656.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33368ce3121c0160dd5ee6a91218294eb489910370faf59c3f5f655ee92b7d98
3
+ size 13509028
Huggy/Huggy-1799999.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22e7b296aa6a94cc8f22d1915d4bb9fd992b263a52b6f6014516dc6b41e64375
3
+ size 2274019
Huggy/Huggy-1799999.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35869eddce961fcf31059840433eeebc0ee30f7e326d7232fa23ee8bfb151737
3
+ size 13509028
Huggy/Huggy-199663.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6ccc3391bc5d364c6309b20db43119f4e71b42272da2606326e06de79aa78f9
3
+ size 2274019
Huggy/Huggy-199663.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bd789631da7ae74d19987c5a4915d1f424293872a918d3959f4da94dd690d79
3
+ size 13508945
Huggy/Huggy-199770.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39830d14b6e6bd5fcb64da9af6436dbeec83453bee6da2af2a1cd8c6ff878197
3
+ size 2274019
Huggy/Huggy-199770.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bef2f268f5a95cc36c40a4b1ad405850382580cb75c6706be19a4b7cb3b421a
3
+ size 13508945
Huggy/Huggy-1999291.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5a3ea9d558109c0052b08ed42b266790f6b59864f298782f22ddadde8534f65
3
+ size 2274019
Huggy/Huggy-1999291.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:972901335e2e04dc606fc88381fa49a88373a4ad0f2d8cae14dce5aa26841acf
3
+ size 13509028
Huggy/Huggy-1999463.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4367d8b8621124c7422ab466ce01930af95c3641fe54647a715d5865e8d35f43
3
+ size 2274019
Huggy/Huggy-1999463.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88fd334745256745b291e5f55b232f5d8f3cac36eaa68fa5ae068de2423945e0
3
+ size 13509028
Huggy/Huggy-2000041.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c92717dc34ba4105338242a8dce17db3c7a85069e635f72e38f5ef43d0a8a61
3
+ size 2274019
Huggy/Huggy-2000041.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af6c0608c51175ab84ecfd9a9652a2ca6772cc78d2262558104dce326f8fbf77
3
+ size 13509028
Huggy/Huggy-2000213.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35bdc162323d84c438c127d0366ec348a3ae5c725e97f950d069a290be7bd42e
3
+ size 2274019
Huggy/Huggy-2000213.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f9370abd84c5138e5cf48375161d07ec1a3e417d202b5b6072756fea22257e8
3
+ size 13509028
Huggy/Huggy-399263.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f516a9b41844dcc82e8484d3f60c68fb59d1cb5ad94c3735ffb88df5d82fdcd6
3
+ size 2274019
Huggy/Huggy-399263.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:461e98d4639a9cb01a9122ea29b8d290d52525b53bca4303fc19a1adee92a6dd
3
+ size 13508945
Huggy/Huggy-399960.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4613853caefec4c04a18c417c24ac34686f329a301f6dc9db8edf59dc9d6fc7d
3
+ size 2274019
Huggy/Huggy-399960.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:343147dadab32484da909f23b152841dd6eaec92530647262c90a36db2116ecb
3
+ size 13508945
Huggy/Huggy-599929.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:746b18ebf642f033af00879b5c4bbf708652589298feffc832d59b7ca440c781
3
+ size 2274019
Huggy/Huggy-599929.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9819771430f6ecf6d92e528e48d608624a8096481f9a48d449da60f789e74adf
3
+ size 13508945
Huggy/Huggy-599976.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3829c626f59514b4e43f8761abf37519bca31d46581a61cb6355449a6e1eaef
3
+ size 2274019
Huggy/Huggy-599976.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b6decda44de9122577a70413bb54243c7f786ab9282c7e4c89a27eb7b0b612c
3
+ size 13508945
Huggy/Huggy-799844.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8aeac72f484d5821a3f1b1c6dfefa2970c3db1599bcc02cb47f0e9e2d3285d60
3
+ size 2274019
Huggy/Huggy-799844.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:280dbf99a1522189b9cb03f429ec6c977686a8fe4b4ca91857baf1e67846e78c
3
+ size 13508945
Huggy/Huggy-799960.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0f25e8dc31a806f773aa3876928309662c363ff915eafe84e2da6add458b5fc
3
+ size 2274019
Huggy/Huggy-799960.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2aada7032b21bdfae88be788eea8fed9160d9776effabf4d27133d47ce9cf06
3
+ size 13508945
Huggy/Huggy-999869.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d2dc06be003c8ad83dba61824852ccdf8aa493eca3c5519532e60e2c8d93e0e
3
+ size 2274019
Huggy/Huggy-999869.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc2e44f65d3f70bc0c69b7fe8fc18ed379ca8710a5bcf7eeb7d807a13296821a
3
+ size 13508945
Huggy/Huggy-999991.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7dcca86e1aa88aa1c5590acda849d570be5d331749acbbb036d56c2cc40b7a5c
3
+ size 2274019
Huggy/Huggy-999991.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc19142abc09fe7e89c81316582ac8c4f58280554f2c184459083913fcf299b4
3
+ size 13508945
Huggy/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df18f03feefdac269e2b8861ae7dcbe20d9cc03d505250083176dc619f8f9966
3
+ size 13508779
Huggy/events.out.tfevents.1765177785.CISAI-0033.894576.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59cc2ba8bd6bdb4e2ac31c65dc6ac22d6a71321bcc7a0dd73c3fcc58fabd0e96
3
+ size 284433
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - Huggy
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-Huggy
8
+ ---
9
+
10
+ # **ppo** Agent playing **Huggy**
11
+ This is a trained model of a **ppo** agent playing **Huggy**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: hari13/huggytensor01
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Huggy": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0005, "beta": 0.005, "epsilon": 0.3, "lambd": 0.99, "num_epoch": 4, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 200000, "network_settings": {"normalize": true, "hidden_units": 512, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.995, "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}}}, "init_path": null, "keep_checkpoints": 15, "even_checkpoints": false, "max_steps": 2000000, "time_horizon": 1000, "summary_freq": 50000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./trained-envs-executables/linux/Huggy/Huggy", "env_args": ["-screen-width", "1920", "-screen-height", "1080", "-window-mode", "1"], "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": false, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Huggy-screen-big", "initialize_from": null, "load_model": false, "resume": false, "force": true, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ Huggy:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0005
9
+ beta: 0.005
10
+ epsilon: 0.3
11
+ lambd: 0.99
12
+ num_epoch: 4
13
+ shared_critic: false
14
+ learning_rate_schedule: linear
15
+ beta_schedule: linear
16
+ epsilon_schedule: linear
17
+ checkpoint_interval: 200000
18
+ network_settings:
19
+ normalize: true
20
+ hidden_units: 512
21
+ num_layers: 3
22
+ vis_encode_type: simple
23
+ memory: null
24
+ goal_conditioning_type: hyper
25
+ deterministic: false
26
+ reward_signals:
27
+ extrinsic:
28
+ gamma: 0.995
29
+ strength: 1.0
30
+ network_settings:
31
+ normalize: false
32
+ hidden_units: 128
33
+ num_layers: 2
34
+ vis_encode_type: simple
35
+ memory: null
36
+ goal_conditioning_type: hyper
37
+ deterministic: false
38
+ init_path: null
39
+ keep_checkpoints: 15
40
+ even_checkpoints: false
41
+ max_steps: 2000000
42
+ time_horizon: 1000
43
+ summary_freq: 50000
44
+ threaded: false
45
+ self_play: null
46
+ behavioral_cloning: null
47
+ env_settings:
48
+ env_path: ./trained-envs-executables/linux/Huggy/Huggy
49
+ env_args:
50
+ - -screen-width
51
+ - '1920'
52
+ - -screen-height
53
+ - '1080'
54
+ - -window-mode
55
+ - '1'
56
+ base_port: 5005
57
+ num_envs: 1
58
+ num_areas: 1
59
+ timeout_wait: 60
60
+ seed: -1
61
+ max_lifetime_restarts: 10
62
+ restarts_rate_limit_n: 1
63
+ restarts_rate_limit_period_s: 60
64
+ engine_settings:
65
+ width: 84
66
+ height: 84
67
+ quality_level: 5
68
+ time_scale: 20
69
+ target_frame_rate: -1
70
+ capture_frame_rate: 60
71
+ no_graphics: false
72
+ no_graphics_monitor: false
73
+ environment_parameters: null
74
+ checkpoint_settings:
75
+ run_id: Huggy-screen-big
76
+ initialize_from: null
77
+ load_model: false
78
+ resume: false
79
+ force: true
80
+ train_model: false
81
+ inference: false
82
+ results_dir: results
83
+ torch_settings:
84
+ device: null
85
+ debug: false