-
Couldn't load subscription status.
- Fork 4.4k
[refactor] Move configuration files to single YAML file #3791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 23 commits
Commits
Show all changes
35 commits Select commit Hold shift + click to select a range
a2b4fb7 Move sampler config into main YAML
94c684c Make CLI override YAML
54e9914 Bring back default functionality, curriculum loader
df4a358 Load curriculum from same YAML
3a84c13 Example WallJump curriculum
92c9682 New-format YAML files
9dcf38d Fix walljump curriculum
a926d4c Commit SAC parameters
419a156 Delete old configs and add gail
c80c359 Change some of the documentation
f020ecc Merge master into develop-single-config
0fa8f8b More doc updates
72b39f0 Fix Yamato test
0c89258 Fix learn.py test
b84396f More docs updates
756a75f Update migrating.md file
cb97315 Update changelog and improve migrating
7bb6366 Don't hard break trying to get curriculum out of bad config
e0b8c9c Use behavior name instead of brain
8d37045 Fix yamato_utils
b20ab5d Merge branch 'master' of github.com:Unity-Technologies/ml-agents into…
50eafc2 Delete curricula
cf920b6 Merge branch 'master' of github.com:Unity-Technologies/ml-agents into…
eb3df94 Make RunOptions and YAML compatible
4171565 Rename walljump yaml SAC
4330c02 Fix newline formatting
41dd3f7 Merge branch 'master' into develop-single-config
75ad833 Update SAC configurations
5a75d7f Edit Changelog
9ba2ef3 Fix learn.py tests
36c9591 Update strikers vs goalie and add Worm
79c8a6c Merge branch 'master' into develop-single-config
3568c2e Merge branch 'master' into develop-single-config
4d27ed5 Use hard links in Migrating.md
597635c Merge branch 'master' into develop-single-config
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| behaviors: | ||
| CrawlerStatic: | ||
| trainer: ppo | ||
| batch_size: 2024 | ||
| beta: 0.005 | ||
| buffer_size: 20240 | ||
| epsilon: 0.2 | ||
| hidden_units: 512 | ||
| lambd: 0.95 | ||
| learning_rate: 0.0003 | ||
| max_steps: 1e7 | ||
| memory_size: 256 | ||
| normalize: true | ||
| num_epoch: 3 | ||
| num_layers: 3 | ||
| time_horizon: 1000 | ||
| sequence_length: 64 | ||
| summary_freq: 30000 | ||
| use_recurrent: false | ||
| reward_signals: | ||
| gail: | ||
| strength: 1.0 | ||
| gamma: 0.99 | ||
| encoding_size: 128 | ||
| demo_path: Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerSta.demo | ||
| behavioral_cloning: | ||
| demo_path: Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerSta.demo | ||
| strength: 0.5 | ||
| steps: 50000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| behaviors: | ||
| FoodCollector: | ||
| trainer: ppo | ||
| batch_size: 64 | ||
| beta: 0.005 | ||
| buffer_size: 10240 | ||
| epsilon: 0.2 | ||
| hidden_units: 128 | ||
| lambd: 0.95 | ||
| learning_rate: 0.0003 | ||
| max_steps: 2.0e6 | ||
| memory_size: 256 | ||
| normalize: false | ||
| num_epoch: 3 | ||
| num_layers: 2 | ||
| time_horizon: 64 | ||
| sequence_length: 32 | ||
| summary_freq: 10000 | ||
| use_recurrent: false | ||
| reward_signals: | ||
| gail: | ||
| strength: 0.1 | ||
| gamma: 0.99 | ||
| encoding_size: 128 | ||
| demo_path: Project/Assets/ML-Agents/Examples/FoodCollector/Demos/ExpertFood.demo | ||
| behavioral_cloning: | ||
| demo_path: Project/Assets/ML-Agents/Examples/FoodCollector/Demos/ExpertFood.demo | ||
| strength: 1.0 | ||
| steps: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| behaviors: | ||
| Hallway: | ||
| trainer: ppo | ||
| batch_size: 128 | ||
| beta: 0.01 | ||
| buffer_size: 1024 | ||
| epsilon: 0.2 | ||
| hidden_units: 128 | ||
| lambd: 0.95 | ||
| learning_rate: 0.0003 | ||
| max_steps: 1.0e7 | ||
| memory_size: 256 | ||
| normalize: false | ||
| num_epoch: 3 | ||
| num_layers: 2 | ||
| time_horizon: 64 | ||
| sequence_length: 64 | ||
| summary_freq: 10000 | ||
| use_recurrent: true | ||
| reward_signals: | ||
| extrinsic: | ||
| strength: 1.0 | ||
| gamma: 0.99 | ||
| gail: | ||
| strength: 0.1 | ||
| gamma: 0.99 | ||
| encoding_size: 128 | ||
| demo_path: Project/Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| behaviors: | ||
| PushBlock: | ||
| trainer: ppo | ||
| batch_size: 128 | ||
| beta: 0.01 | ||
| buffer_size: 2048 | ||
| epsilon: 0.2 | ||
| hidden_units: 256 | ||
| lambd: 0.95 | ||
| learning_rate: 0.0003 | ||
| max_steps: 1.5e7 | ||
| memory_size: 256 | ||
| normalize: false | ||
| num_epoch: 3 | ||
| num_layers: 2 | ||
| time_horizon: 64 | ||
| sequence_length: 64 | ||
| summary_freq: 60000 | ||
| use_recurrent: false | ||
| reward_signals: | ||
| gail: | ||
| strength: 1.0 | ||
| gamma: 0.99 | ||
| encoding_size: 128 | ||
| demo_path: Project/Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPush.demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| behaviors: | ||
| Pyramids: | ||
| trainer: ppo | ||
| batch_size: 128 | ||
| beta: 0.01 | ||
| buffer_size: 2048 | ||
| epsilon: 0.2 | ||
| hidden_units: 512 | ||
| lambd: 0.95 | ||
| learning_rate: 0.0003 | ||
| max_steps: 1.0e7 | ||
| memory_size: 256 | ||
| normalize: false | ||
| num_epoch: 3 | ||
| num_layers: 2 | ||
| time_horizon: 128 | ||
| sequence_length: 64 | ||
| summary_freq: 30000 | ||
| use_recurrent: false | ||
| reward_signals: | ||
| extrinsic: | ||
| strength: 1.0 | ||
| gamma: 0.99 | ||
| curiosity: | ||
| strength: 0.02 | ||
| gamma: 0.99 | ||
| encoding_size: 256 | ||
| gail: | ||
| strength: 0.01 | ||
| gamma: 0.99 | ||
| encoding_size: 128 | ||
| demo_path: Project/Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo | ||
| behavioral_cloning: | ||
| demo_path: Project/Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo | ||
| strength: 0.5 | ||
| steps: 150000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| behaviors: | ||
| 3DBall: | ||
| trainer: ppo | ||
| batch_size: 64 | ||
| beta: 0.001 | ||
| buffer_size: 12000 | ||
| epsilon: 0.2 | ||
| hidden_units: 128 | ||
| lambd: 0.99 | ||
| learning_rate: 0.0003 | ||
| learning_rate_schedule: linear | ||
| max_steps: 5.0e5 | ||
| memory_size: 128 | ||
| normalize: true | ||
| num_epoch: 3 | ||
| num_layers: 2 | ||
| time_horizon: 1000 | ||
| sequence_length: 64 | ||
| summary_freq: 12000 | ||
| use_recurrent: false | ||
| vis_encode_type: simple | ||
| reward_signals: | ||
| extrinsic: | ||
| strength: 1.0 | ||
| gamma: 0.99 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| behaviors: | ||
| 3DBallHard: | ||
| trainer: ppo | ||
| batch_size: 1200 | ||
| beta: 0.001 | ||
| buffer_size: 12000 | ||
| epsilon: 0.2 | ||
| hidden_units: 128 | ||
| lambd: 0.95 | ||
| learning_rate: 0.0003 | ||
| learning_rate_schedule: linear | ||
| max_steps: 5.0e6 | ||
| memory_size: 128 | ||
| normalize: true | ||
| num_epoch: 3 | ||
| num_layers: 2 | ||
| time_horizon: 1000 | ||
| sequence_length: 64 | ||
| summary_freq: 12000 | ||
| use_recurrent: false | ||
| vis_encode_type: simple | ||
| reward_signals: | ||
| extrinsic: | ||
| strength: 1.0 | ||
| gamma: 0.995 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.