Unity
From Robin
(Difference between revisions)
(→Installing Unity ML-Agents) |
|||
Line 27: | Line 27: | ||
[https://docs.unity3d.com/Manual/index.html Unity Documentation] | [https://docs.unity3d.com/Manual/index.html Unity Documentation] | ||
+ | == Troubleshooting == | ||
+ | Although it is in principle quite easy to set up a Unity ML-Agents environment, in practice there can be a few tricky bugs either with Unity failing to start, version incompatibilities, or dependencies. If you're having specific issues with Unity and/or ML-Agents, for now, contact Frank. | ||
== Notes on deterministic behavior == | == Notes on deterministic behavior == | ||
[[Unity-Timing-David | David's tips on getting deterministic timing]] | [[Unity-Timing-David | David's tips on getting deterministic timing]] |
Revision as of 17:32, 27 October 2022
Contents |
Installation
Download and install Unity
Installing Unity ML-Agents
In the Unity editor, go to window->package manager. Inside the package manager search for ML agents in the Unity Registry. Install the most recent ML Agents package. ML-Agents examples can be downloaded from the ML-Agents Github
Setting up the Python API
pip install mlagents
Using Unity ML-Agents
Running ML-Agents through the Python API
Documentation
Unity ML-Agents Github Page Unity Documentation
Troubleshooting
Although it is in principle quite easy to set up a Unity ML-Agents environment, in practice there can be a few tricky bugs either with Unity failing to start, version incompatibilities, or dependencies. If you're having specific issues with Unity and/or ML-Agents, for now, contact Frank.