浏览代码
1 to 1 Brain to Agent (#2729)
1 to 1 Brain to Agent (#2729)
* 1 to 1 Brain to Agent This is a work in progess In this PR : - Deleted all Brain Objects - Moved the BrainParameters into the Agent - Gave the Agent a Heuristic method (see Balance Ball for example) - Modified the Communicator and ModelRunner : Put can only take one agent at a time - Made the IBrain Interface with RequestDecision and DecideAction method No changes made to Python [Design Doc](https://docs.google.com/document/d/1hBhBxZ9lepGF4H6fc6Hu6AW7UwOmnyX3trmgI3HpOmo/edit#) * Removing editorconfig * Updating BallanceBall scene * grammar mistake * Clearing the Agents of the Model runner * Added Documentation on IBrain * Modified comments on GiveModel * Introduced a factory * Split Learning Brain in two * Changes to walljump * Fixing the Unit tests * Renaming the Brain to Policy * Heuristic now has priority over training * Edited code comments * Fixing bugs * Develop one to one scene edits.../develop-gpu-test
GitHub
5 年前
当前提交
99146e97
共有 181 个文件被更改,包括 3235 次插入 和 2372 次删除
-
10UnitySDK/Assets/ML-Agents/Editor/AgentEditor.cs
-
101UnitySDK/Assets/ML-Agents/Editor/BrainParametersDrawer.cs
-
26UnitySDK/Assets/ML-Agents/Editor/Tests/EditModeTestInternalBrainTensorGenerator.cs
-
91UnitySDK/Assets/ML-Agents/Editor/Tests/MLAgentsEditModeTest.cs
-
29UnitySDK/Assets/ML-Agents/Examples/3DBall/Prefabs/3DBall.prefab
-
24UnitySDK/Assets/ML-Agents/Examples/3DBall/Prefabs/3DBallHardNew.prefab
-
47UnitySDK/Assets/ML-Agents/Examples/3DBall/Scenes/3DBall.unity
-
34UnitySDK/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DAgent.cs
-
25UnitySDK/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DHardAgent.cs
-
24UnitySDK/Assets/ML-Agents/Examples/Basic/Prefabs/Basic.prefab
-
13UnitySDK/Assets/ML-Agents/Examples/Basic/Scripts/BasicAgent.cs
-
24UnitySDK/Assets/ML-Agents/Examples/Bouncer/Prefabs/Environment.prefab
-
10UnitySDK/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerAgent.cs
-
25UnitySDK/Assets/ML-Agents/Examples/Crawler/Prefabs/DynamicPlatform.prefab
-
24UnitySDK/Assets/ML-Agents/Examples/Crawler/Prefabs/FixedPlatform.prefab
-
128UnitySDK/Assets/ML-Agents/Examples/FoodCollector/Prefabs/FoodCollectorArea.prefab
-
868UnitySDK/Assets/ML-Agents/Examples/FoodCollector/Prefabs/VisualFoodCollectorArea.prefab
-
129UnitySDK/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector.unity
-
102UnitySDK/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorAgent.cs
-
61UnitySDK/Assets/ML-Agents/Examples/GridWorld/Prefabs/Area.prefab
-
32UnitySDK/Assets/ML-Agents/Examples/GridWorld/Scenes/GridWorld.unity
-
21UnitySDK/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs
-
24UnitySDK/Assets/ML-Agents/Examples/Hallway/Prefabs/SymbolFinderArea.prefab
-
57UnitySDK/Assets/ML-Agents/Examples/Hallway/Prefabs/VisualSymbolFinderArea.prefab
-
16UnitySDK/Assets/ML-Agents/Examples/Hallway/Scenes/VisualHallway.unity
-
57UnitySDK/Assets/ML-Agents/Examples/Hallway/Scripts/HallwayAgent.cs
-
24UnitySDK/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockArea.prefab
-
41UnitySDK/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockVisualArea.prefab
-
16UnitySDK/Assets/ML-Agents/Examples/PushBlock/Scenes/VisualPushBlock.unity
-
21UnitySDK/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs
-
24UnitySDK/Assets/ML-Agents/Examples/Pyramids/Prefabs/AreaPB.prefab
-
69UnitySDK/Assets/ML-Agents/Examples/Pyramids/Prefabs/VisualAreaPyramids.prefab
-
10UnitySDK/Assets/ML-Agents/Examples/Pyramids/Scenes/VisualPyramids.unity
-
65UnitySDK/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidAgent.cs
-
24UnitySDK/Assets/ML-Agents/Examples/Reacher/Prefabs/Agent.prefab
-
96UnitySDK/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerFieldTwos.prefab
-
48UnitySDK/Assets/ML-Agents/Examples/Tennis/Prefabs/TennisArea.prefab
-
9UnitySDK/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs
-
24UnitySDK/Assets/ML-Agents/Examples/Walker/Prefabs/WalkerPair.prefab
-
30UnitySDK/Assets/ML-Agents/Examples/WallJump/Prefabs/WallJumpArea.prefab
-
8UnitySDK/Assets/ML-Agents/Examples/WallJump/Scenes/WallJump.unity
-
37UnitySDK/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs
-
88UnitySDK/Assets/ML-Agents/Scripts/Academy.cs
-
130UnitySDK/Assets/ML-Agents/Scripts/Agent.cs
-
4UnitySDK/Assets/ML-Agents/Scripts/DemonstrationRecorder.cs
-
107UnitySDK/Assets/ML-Agents/Scripts/Grpc/RpcCommunicator.cs
-
3UnitySDK/Assets/ML-Agents/Scripts/ICommunicator.cs
-
7UnitySDK/Assets/ML-Agents/Scripts/InferenceBrain/BarracudaModelParamLoader.cs
-
1UnitySDK/Assets/ML-Agents/Scripts/InferenceBrain/GeneratorImpl.cs
-
24UnitySDK/Assets/ML-Agents/Scripts/InferenceBrain/ModelRunner.cs
-
8config/gail_config.yaml
-
2config/offline_bc_config.yaml
-
42config/sac_trainer_config.yaml
-
42config/trainer_config.yaml
-
2docs/Background-TensorFlow.md
-
53docs/Basic-Guide.md
-
4docs/Creating-Custom-Protobuf-Messages.md
-
2docs/FAQ.md
-
4docs/Feature-Memory.md
-
116docs/Getting-Started-with-Balance-Ball.md
-
10docs/Glossary.md
-
7docs/Learning-Environment-Best-Practices.md
-
110docs/Learning-Environment-Create-New.md
-
2docs/Learning-Environment-Design-Academy.md
-
135docs/Learning-Environment-Design-Agents.md
-
54docs/Learning-Environment-Design.md
-
72docs/Learning-Environment-Examples.md
-
17docs/Learning-Environment-Executable.md
-
97docs/ML-Agents-Overview.md
-
1docs/Migrating.md
-
4docs/Readme.md
-
2docs/Reward-Signals.md
-
3docs/Training-Behavioral-Cloning.md
-
14docs/Training-Curriculum-Learning.md
-
5docs/Training-ML-Agents.md
-
2docs/Training-PPO.md
-
2docs/Training-SAC.md
-
3docs/Training-on-Amazon-Web-Service.md
-
4docs/Unity-Inference-Engine.md
-
358docs/images/3dball_learning_brain.png
-
327docs/images/agent.png
-
350docs/images/visual-observation-rendertexture.png
-
369docs/images/visual-observation.png
-
5gym-unity/README.md
-
2UnitySDK/Assets/ML-Agents/Scripts/Policy/BarracudaPolicy.cs.meta
-
78UnitySDK/Assets/ML-Agents/Editor/BehaviorParametersEditor.cs
-
11UnitySDK/Assets/ML-Agents/Editor/BehaviorParametersEditor.cs.meta
-
8UnitySDK/Assets/ML-Agents/Scripts/Policy.meta
-
93UnitySDK/Assets/ML-Agents/Scripts/Policy/BarracudaPolicy.cs
-
64UnitySDK/Assets/ML-Agents/Scripts/Policy/BehaviorParameters.cs
-
11UnitySDK/Assets/ML-Agents/Scripts/Policy/BehaviorParameters.cs.meta
-
45UnitySDK/Assets/ML-Agents/Scripts/Policy/HeuristicPolicy.cs
-
11UnitySDK/Assets/ML-Agents/Scripts/Policy/HeuristicPolicy.cs.meta
-
30UnitySDK/Assets/ML-Agents/Scripts/Policy/IPolicy.cs
-
11UnitySDK/Assets/ML-Agents/Scripts/Policy/IPolicy.cs.meta
-
86UnitySDK/Assets/ML-Agents/Scripts/Policy/RemotePolicy.cs
-
11UnitySDK/Assets/ML-Agents/Scripts/Policy/RemotePolicy.cs.meta
-
3UnitySDK/Assets/ML-Agents/Editor/BrainEditor.cs.meta
-
3UnitySDK/Assets/ML-Agents/Editor/HeuristicBrainEditor.cs.meta
868
UnitySDK/Assets/ML-Agents/Examples/FoodCollector/Prefabs/VisualFoodCollectorArea.prefab
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件