浏览代码
0.2 Update
0.2 Update
* added broadcast to the player and heuristic brain. Allows the python API to record actions taken along with the states and rewards * removed the broadcast checkbox Added a Handshake method for the communicator The academy will try to handshake regardless of the brains present Player and Heuristic brains will send their information through the communicator but will not receive commands * bug fix : The environment only requests actions from external brains when unique * added warning in case no brins are set to external * fix on the instanciation of coreBrains, fix on the conversion of actions to arrays in the BrainInfo received from step * default discrete action is now 0 bug fix for discrete broadcast action (the action size should be one in Agents.cs) modified Tennis so that the default action is no action modified the TemplateDecsion.cs to ensure non null values are sent from Decide() and MakeMemory() * minor fixes * need to convert the s.../develop-generalizationTraining-TrainerController
Arthur Juliani
7 年前
当前提交
51f23cd2
共有 199 个文件被更改,包括 10977 次插入 和 1264 次删除
-
5.gitignore
-
85docs/Example-Environments.md
-
4docs/Getting-Started-with-Balance-Ball.md
-
40docs/Making-a-new-Unity-Environment.md
-
25docs/Readme.md
-
14docs/Using-TensorFlow-Sharp-in-Unity-(Experimental).md
-
45docs/best-practices-ppo.md
-
11docs/best-practices.md
-
56python/PPO.ipynb
-
89python/ppo.py
-
134python/ppo/models.py
-
85python/ppo/trainer.py
-
2python/setup.py
-
200python/test_unityagents.py
-
1python/unityagents/__init__.py
-
3python/unityagents/brain.py
-
247python/unityagents/environment.py
-
31python/unityagents/exception.py
-
29unity-environment/Assets/ML-Agents/Examples/3DBall/Prefabs/Game.prefab
-
183unity-environment/Assets/ML-Agents/Examples/3DBall/Scene.unity
-
12unity-environment/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DAgent.cs
-
96unity-environment/Assets/ML-Agents/Examples/Basic/Scripts/BasicAgent.cs
-
21unity-environment/Assets/ML-Agents/Examples/Basic/Scripts/BasicDecision.cs
-
100unity-environment/Assets/ML-Agents/Examples/GridWorld/GridWorld.unity
-
1unity-environment/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs
-
13unity-environment/Assets/ML-Agents/Examples/Tennis/Materials/ballMat.physicMaterial
-
2unity-environment/Assets/ML-Agents/Examples/Tennis/Materials/racketMat.physicMaterial
-
16unity-environment/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAcademy.cs
-
62unity-environment/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs
-
34unity-environment/Assets/ML-Agents/Examples/Tennis/Scripts/hitWall.cs
-
256unity-environment/Assets/ML-Agents/Examples/Tennis/TFModels/Tennis.bytes
-
929unity-environment/Assets/ML-Agents/Examples/Tennis/Tennis.unity
-
49unity-environment/Assets/ML-Agents/Scripts/Academy.cs
-
31unity-environment/Assets/ML-Agents/Scripts/Agent.cs
-
36unity-environment/Assets/ML-Agents/Scripts/Brain.cs
-
13unity-environment/Assets/ML-Agents/Scripts/Communicator.cs
-
32unity-environment/Assets/ML-Agents/Scripts/CoreBrainExternal.cs
-
22unity-environment/Assets/ML-Agents/Scripts/CoreBrainHeuristic.cs
-
56unity-environment/Assets/ML-Agents/Scripts/CoreBrainInternal.cs
-
28unity-environment/Assets/ML-Agents/Scripts/CoreBrainPlayer.cs
-
129unity-environment/Assets/ML-Agents/Scripts/ExternalCommunicator.cs
-
19unity-environment/Assets/ML-Agents/Template/Scripts/TemplateDecision.cs
-
8unity-environment/ProjectSettings/TagManager.asset
-
18unity-environment/README.md
-
12docs/broadcast.md
-
87docs/curriculum.md
-
18docs/monitor.md
-
213images/broadcast.png
-
1001images/crawler.png
-
488images/curriculum.png
-
260images/curriculum_progress.png
-
173images/math.png
-
563images/monitor.png
-
495images/push.png
-
1001images/reacher.png
-
695images/wall.png
-
81python/unityagents/curriculum.py
-
9unity-environment/Assets/ML-Agents/Examples/Area.meta
-
9unity-environment/Assets/ML-Agents/Examples/Crawler.meta
-
9unity-environment/Assets/ML-Agents/Examples/Reacher.meta
-
10unity-environment/Assets/ML-Agents/Examples/Tennis/Prefabs.meta
-
40unity-environment/Assets/ML-Agents/Examples/Tennis/Scripts/TennisArea.cs
-
13unity-environment/Assets/ML-Agents/Examples/Tennis/Scripts/TennisArea.cs.meta
-
380unity-environment/Assets/ML-Agents/Scripts/Monitor.cs
-
12unity-environment/Assets/ML-Agents/Scripts/Monitor.cs.meta
-
12python/curricula/push.json
-
12python/curricula/test.json
-
11python/curricula/wall.json
-
9unity-environment/Assets/ML-Agents/Examples/Area/Materials.meta
-
76unity-environment/Assets/ML-Agents/Examples/Area/Materials/agent.mat
-
9unity-environment/Assets/ML-Agents/Examples/Area/Materials/agent.mat.meta
-
76unity-environment/Assets/ML-Agents/Examples/Area/Materials/block.mat
-
9unity-environment/Assets/ML-Agents/Examples/Area/Materials/block.mat.meta
-
76unity-environment/Assets/ML-Agents/Examples/Area/Materials/goal.mat
-
9unity-environment/Assets/ML-Agents/Examples/Area/Materials/goal.mat.meta
-
77unity-environment/Assets/ML-Agents/Examples/Area/Materials/wall.mat
-
9unity-environment/Assets/ML-Agents/Examples/Area/Materials/wall.mat.meta
-
9unity-environment/Assets/ML-Agents/Examples/Area/Prefabs.meta
-
224unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/Agent.prefab
-
9unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/Agent.prefab.meta
-
111unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/Block.prefab
-
9unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/Block.prefab.meta
-
190unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/GoalHolder.prefab
-
9unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/GoalHolder.prefab.meta
-
641unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/PushArea.prefab
-
9unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/PushArea.prefab.meta
-
757unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/WallArea.prefab
-
9unity-environment/Assets/ML-Agents/Examples/Area/Prefabs/WallArea.prefab.meta
-
1001unity-environment/Assets/ML-Agents/Examples/Area/Push.unity
-
8unity-environment/Assets/ML-Agents/Examples/Area/Push.unity.meta
-
9unity-environment/Assets/ML-Agents/Examples/Area/Scripts.meta
-
20unity-environment/Assets/ML-Agents/Examples/Area/Scripts/Area.cs
|
|||
# Unity ML Agents Documentation |
|||
|
|||
## Basic |
|||
## About |
|||
* [Example Environments](Example-Environments.md) |
|||
|
|||
## Tutorials |
|||
* [Example Environments](Example-Environments.md) |
|||
* [Making a new Unity Environment](Making-a-new-Unity-Environment.md) |
|||
* [How to use the Python API](Unity-Agents---Python-API.md) |
|||
## Advanced |
|||
* [How to make a new Unity Environment](Making-a-new-Unity-Environment.md) |
|||
* [Best practices when designing an Environment](best-practices.md) |
|||
* [Best practices when training using PPO](best-practices-ppo.md) |
|||
* [How to organize the Scene](Organizing-the-Scene.md) |
|||
* [How to use the Python API](Unity-Agents---Python-API.md) |
|||
* [How to use TensorflowSharp inside Unity [Experimental]](Using-TensorFlow-Sharp-in-Unity-(Experimental).md) |
|||
## Features |
|||
* [Scene Organization](Organizing-the-Scene.md) |
|||
* [Curriculum Learning](curriculum.md) |
|||
* [Broadcast](broadcast.md) |
|||
* [Monitor](monitor.md) |
|||
* [TensorflowSharp in Unity [Experimental]](Using-TensorFlow-Sharp-in-Unity-(Experimental).md) |
|||
|
|||
## Best Practices |
|||
* [Best practices when creating an Environment](best-practices.md) |
|||
* [Best practices when training using PPO](best-practices-ppo.md) |
|||
|
|||
## Help |
|||
* [Limitations & Common Issues](Limitations-&-Common-Issues.md) |
|
|||
from .environment import * |
|||
from .brain import * |
|||
from .exception import * |
|||
from .curriculum import * |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!134 &13400000 |
|||
PhysicMaterial: |
|||
m_ObjectHideFlags: 0 |
|||
m_PrefabParentObject: {fileID: 0} |
|||
m_PrefabInternal: {fileID: 0} |
|||
m_Name: ballMat |
|||
dynamicFriction: 0 |
|||
staticFriction: 0 |
|||
bounciness: 1 |
|||
frictionCombine: 1 |
|||
bounceCombine: 3 |
|
|||
|
|||
8 |
|||
global_stepConst* |
|||
valueB |
|||
:���* |
|||
dtype0 |
|||
R |
|||
global_step/readIdentityglobal_step* |
|||
T0* |
|||
_class |
|||
loc:@global_step |
|||
Y |
|||
running_meanConst* |
|||
dtype0*5 |
|||
value,B*" ?��F����i?�p�= S�F@ ˀ� |
|||
U |
|||
running_mean/readIdentityrunning_mean* |
|||
T0* |
|||
_class |
|||
loc:@running_mean |
|||
] |
|||
running_varianceConst*5 |
|||
value,B*" ��JK`D:J��9M {"L �?��WK �?�i M* |
|||
dtype0 |
|||
a |
|||
running_variance/readIdentityrunning_variance* |
|||
T0*# |
|||
_class |
|||
loc:@running_variance |
|||
- |
|||
subSubstaterunning_mean/read* |
|||
T0 |
|||
6 |
|||
CastCastglobal_step/read* |
|||
|
|||
SrcT0* |
|||
|
|||
DstT0 |
|||
4 |
|||
add_1/yConst* |
|||
valueB |
|||
* �?* |
|||
dtype0 |
|||
$ |
|||
add_1AddCastadd_1/y* |
|||
T0 |
|||
9 |
|||
truedivRealDivrunning_variance/readadd_1* |
|||
T0 |
|||
|
|||
SqrtSqrttruediv* |
|||
T0 |
|||
( |
|||
truediv_1RealDivsubSqrt* |
|||
T0 |
|||
G |
|||
normalized_state/Minimum/yConst* |
|||
valueB |
|||
* �@* |
|||
dtype0 |
|||
S |
|||
normalized_state/MinimumMinimum truediv_1normalized_state/Minimum/y* |
|||
T0 |
|||
? |
|||
normalized_state/yConst* |
|||
valueB |
|||
* ��* |
|||
dtype0 |
|||
R |
|||
normalized_stateMaximumnormalized_state/Minimumnormalized_state/y* |
|||
T0 |
|||
dense/kernelConst* |
|||
dtype0*� |
|||
value�B�@"����>P �>�:��:>�B@>jW>��h��乾�7���>���<�_Ǿ����[?=r���Cm����+Ag>V�����p�F�)��A��Z_�4Լ��}=j�i����[,=mQ@��Xc�L���e@e>]���ғ��¢�>{iG�L�U�"j����A>�7�>JֻU�9>L���H����=V��<��z�Zy=�FS�={�=z�'��=�9>9��>xVɾ�%�#d��>|<���=�4/��r=���=��<���_nT>-���o=��2>k^������4vN>JS�=i�Ľ����c�>��L>�>�=_�!� TN>�� =�9;�k��O>3ɽ�廾8>T� ��Z���ϼ |
|||
�R=�q�=8a=<qq�$��=P��<8vX��>�>S-�<)d�$�+>\���& |