44
55# Unity ML-Agents Toolkit (Beta)
66
7- ** The Unity Machine Learning Agents Toolkit** (ML-Agents) is an open-source Unity plugin
8- that enables games and simulations to serve as environments for training
9- intelligent agents. Agents can be trained using reinforcement learning,
10- imitation learning, neuroevolution, or other machine learning methods through
11- a simple-to-use Python API. We also provide implementations (based on
12- TensorFlow) of state-of-the-art algorithms to enable game developers
13- and hobbyists to easily train intelligent agents for 2D, 3D and VR/AR games.
14- These trained agents can be used for multiple purposes, including
15- controlling NPC behavior (in a variety of settings such as multi-agent and
16- adversarial), automated testing of game builds and evaluating different game
17- design decisions pre-release. The ML-Agents toolkit is mutually beneficial for both game
18- developers and AI researchers as it provides a central platform where advances
19- in AI can be evaluated on Unity’s rich environments and then made accessible
20- to the wider research and game developer communities.
7+ ** The Unity Machine Learning Agents Toolkit** (ML-Agents) is an open-source
8+ Unity plugin that enables games and simulations to serve as environments for
9+ training intelligent agents. Agents can be trained using reinforcement learning,
10+ imitation learning, neuroevolution, or other machine learning methods through a
11+ simple-to-use Python API. We also provide implementations (based on TensorFlow)
12+ of state-of-the-art algorithms to enable game developers and hobbyists to easily
13+ train intelligent agents for 2D, 3D and VR/AR games. These trained agents can be
14+ used for multiple purposes, including controlling NPC behavior (in a variety of
15+ settings such as multi-agent and adversarial), automated testing of game builds
16+ and evaluating different game design decisions pre-release. The ML-Agents
17+ toolkit is mutually beneficial for both game developers and AI researchers as it
18+ provides a central platform where advances in AI can be evaluated on Unity’s
19+ rich environments and then made accessible to the wider research and game
20+ developer communities.
2121
2222## Features
23+
2324* Unity environment control from Python
2425* 10+ sample Unity environments
2526* Support for multiple environment configurations and training scenarios
26- * Train memory-enhanced Agents using deep reinforcement learning
27+ * Train memory-enhanced agents using deep reinforcement learning
2728* Easily definable Curriculum Learning scenarios
28- * Broadcasting of Agent behavior for supervised learning
29+ * Broadcasting of agent behavior for supervised learning
2930* Built-in support for Imitation Learning
30- * Flexible Agent control with On Demand Decision Making
31+ * Flexible agent control with On Demand Decision Making
3132* Visualizing network outputs within the environment
3233* Simplified set-up with Docker
3334
3435## Documentation
3536
36- * For more information, in addition to installation and usage
37- instructions, see our [ documentation home] ( docs/Readme.md ) .
38- * If you have
39- used a version of the ML-Agents toolkit prior to v0.4, we strongly recommend
40- our [ guide on migrating from earlier versions] ( docs/Migrating.md ) .
37+ * For more information, in addition to installation and usage instructions, see
38+ our [ documentation home] ( docs/Readme.md ) .
39+ * If you have used a version of the ML-Agents toolkit prior to v0.4, we strongly
40+ recommend our [ guide on migrating from earlier versions] ( docs/Migrating.md ) .
4141
4242## References
4343
4444We have published a series of blog posts that are relevant for ML-Agents:
45- - Overviewing reinforcement learning concepts
46- ([ multi-armed bandit] ( https://blogs.unity3d.com/2017/06/26/unity-ai-themed-blog-entries/ )
47- and [ Q-learning] ( https://blogs.unity3d.com/2017/08/22/unity-ai-reinforcement-learning-with-q-learning/ ) )
48- - [ Using Machine Learning Agents in a real game: a beginner’s guide] ( https://blogs.unity3d.com/2017/12/11/using-machine-learning-agents-in-a-real-game-a-beginners-guide/ )
49- - [ Post] ( https://blogs.unity3d.com/2018/02/28/introducing-the-winners-of-the-first-ml-agents-challenge/ ) announcing the winners of our
50- [ first ML-Agents Challenge] ( https://connect.unity.com/challenges/ml-agents-1 )
51- - [ Post] ( https://blogs.unity3d.com/2018/01/23/designing-safer-cities-through-simulations/ )
52- overviewing how Unity can be leveraged as a simulator to design safer cities.
45+
46+ * Overviewing reinforcement learning concepts
47+ ([ multi-armed bandit] ( https://blogs.unity3d.com/2017/06/26/unity-ai-themed-blog-entries/ )
48+ and
49+ [ Q-learning] ( https://blogs.unity3d.com/2017/08/22/unity-ai-reinforcement-learning-with-q-learning/ ) )
50+ * [ Using Machine Learning Agents in a real game: a beginner’s guide] ( https://blogs.unity3d.com/2017/12/11/using-machine-learning-agents-in-a-real-game-a-beginners-guide/ )
51+ * [ Post] ( https://blogs.unity3d.com/2018/02/28/introducing-the-winners-of-the-first-ml-agents-challenge/ )
52+ announcing the winners of our
53+ [ first ML-Agents Challenge] ( https://connect.unity.com/challenges/ml-agents-1 )
54+ * [ Post] ( https://blogs.unity3d.com/2018/01/23/designing-safer-cities-through-simulations/ )
55+ overviewing how Unity can be leveraged as a simulator to design safer cities.
5356
5457In addition to our own documentation, here are some additional, relevant articles:
55- - [ Unity AI - Unity 3D Artificial Intelligence] ( https://www.youtube.com/watch?v=bqsfkGbBU6k )
56- - [ A Game Developer Learns Machine Learning] ( https://mikecann.co.uk/machine-learning/a-game-developer-learns-machine-learning-intent/ )
57- - [ Explore Unity Technologies ML-Agents Exclusively on Intel Architecture] ( https://software.intel.com/en-us/articles/explore-unity-technologies-ml-agents-exclusively-on-intel-architecture )
58+
59+ * [ Unity AI - Unity 3D Artificial Intelligence] ( https://www.youtube.com/watch?v=bqsfkGbBU6k )
60+ * [ A Game Developer Learns Machine Learning] ( https://mikecann.co.uk/machine-learning/a-game-developer-learns-machine-learning-intent/ )
61+ * [ Explore Unity Technologies ML-Agents Exclusively on Intel Architecture] ( https://software.intel.com/en-us/articles/explore-unity-technologies-ml-agents-exclusively-on-intel-architecture )
5862
5963## Community and Feedback
6064
61- The ML-Agents toolkit is an open-source project and we encourage and welcome contributions.
62- If you wish to contribute, be sure to review our
63- [ contribution guidelines] ( CONTRIBUTING.md ) and
65+ The ML-Agents toolkit is an open-source project and we encourage and welcome
66+ contributions. If you wish to contribute, be sure to review our
67+ [ contribution guidelines] ( CONTRIBUTING.md ) and
6468[ code of conduct] ( CODE_OF_CONDUCT.md ) .
6569
6670You can connect with us and the broader community
6771through Unity Connect and GitHub:
72+
6873* Join our
69- [ Unity Machine Learning Channel] ( https://connect.unity.com/messages/c/035fba4f88400000 )
70- to connect with others using the ML-Agents toolkit and Unity developers enthusiastic
71- about machine learning. We use that channel to surface updates
72- regarding the ML-Agents toolkit (and, more broadly, machine learning in games).
73- * If you run into any problems using the ML-Agents toolkit,
74- [ submit an issue] ( https://github.com/Unity-Technologies/ml-agents/issues ) and
75- make sure to include as much detail as possible.
74+ [ Unity Machine Learning Channel] ( https://connect.unity.com/messages/c/035fba4f88400000 )
75+ to connect with others using the ML-Agents toolkit and Unity developers
76+ enthusiastic about machine learning. We use that channel to surface updates
77+ regarding the ML-Agents toolkit (and, more broadly, machine learning in
78+ games).
79+ * If you run into any problems using the ML-Agents toolkit,
80+ [ submit an issue] ( https://github.com/Unity-Technologies/ml-agents/issues ) and
81+ make sure to include as much detail as possible.
7682
7783For any other questions or feedback, connect directly with the ML-Agents
7884@@ -86,7 +92,7 @@ of the documentation to one language (Chinese), but we hope to continue
8692translating more pages and to other languages. Consequently,
8793we welcome any enhancements and improvements from the community.
8894
89- - [ Chinese] ( docs/localized/zh-CN/ )
95+ * [ Chinese] ( docs/localized/zh-CN/ )
9096
9197## License
9298
0 commit comments