|
|
|
|
|
|
|
|
|
|
1. Launch Unity |
|
|
|
2. On the Projects dialog, choose the **Open** option at the top of the window. |
|
|
|
3. Using the file dialog that opens, locate the `MLAgentsSDK` folder |
|
|
|
3. Using the file dialog that opens, locate the `UnitySDK` folder |
|
|
|
within the the ML-Agents toolkit project and click **Open**. |
|
|
|
4. Go to **Edit** > **Project Settings** > **Player** |
|
|
|
5. For **each** of the platforms you target (**PC, Mac and Linux Standalone**, |
|
|
|
|
|
|
**Plugins** > **Computer**. |
|
|
|
|
|
|
|
**Note**: If you don't see anything under **Assets**, drag the |
|
|
|
`MLAgentsSDK/Assets/ML-Agents` folder under **Assets** within Project window. |
|
|
|
`UnitySDK/Assets/ML-Agents` folder under **Assets** within Project window. |
|
|
|
|
|
|
|
![Imported TensorFlowsharp](images/imported-tensorflowsharp.png) |
|
|
|
|
|
|
|
|
|
|
[above](#play-an-example-environment-using-pretrained-model). |
|
|
|
|
|
|
|
1. Move your model file into |
|
|
|
`MLAgentsSDK/Assets/ML-Agents/Examples/3DBall/TFModels/`. |
|
|
|
`UnitySDK/Assets/ML-Agents/Examples/3DBall/TFModels/`. |
|
|
|
2. Open the Unity Editor, and select the **3DBall** scene as described above. |
|
|
|
3. Select the **Ball3DBrain** object from the Scene hierarchy. |
|
|
|
4. Change the **Type of Brain** to **Internal**. |
|
|
|