From ad6d2289a5a38d8d5db4718c6352d01e8d9c1fe8 Mon Sep 17 00:00:00 2001 From: unityjeffrey <34355042+unityjeffrey@users.noreply.github.com> Date: Mon, 18 Dec 2017 16:45:29 -0800 Subject: [PATCH] Update instructions for setting up TF Sharp Summary of changes in setting up TF Sharp 1) Make sure to press "enter" after entering "ENABLE_TENSORFLOW" flag. 2) Save the project. 3) Checking to make sure the TF asset files are installed in the project. --- docs/Getting-Started-with-Balance-Ball.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/Getting-Started-with-Balance-Ball.md b/docs/Getting-Started-with-Balance-Ball.md index 6cb88c18f1..2f80ef8fdb 100644 --- a/docs/Getting-Started-with-Balance-Ball.md +++ b/docs/Getting-Started-with-Balance-Ball.md @@ -77,13 +77,14 @@ Once the training process displays an average reward of ~75 or greater, and ther Because TensorFlowSharp support is still experimental, it is disabled by default. In order to enable it, you must follow these steps. Please note that the `Internal` Brain mode will only be available once completing these steps. 1. Make sure you are using Unity 2017.1 or newer. -2. Make sure the TensorFlowSharp plugin is in your `Assets` folder. A Plugins folder which includes TF# can be downloaded [here](https://s3.amazonaws.com/unity-agents/0.2/TFSharpPlugin.unitypackage). Double click and import it once downloaded. +2. Make sure the TensorFlowSharp plugin is in your `Assets` folder. A Plugins folder which includes TF# can be downloaded [here](https://s3.amazonaws.com/unity-agents/0.2/TFSharpPlugin.unitypackage). Double click and import it once downloaded. You can see if this was successfully installed by checking the TensorFlow files in the Project tab under `Assets` -> `ML-Agents` -> `Plugins` -> `Computer` 3. Go to `Edit` -> `Project Settings` -> `Player` 4. For each of the platforms you target (**`PC, Mac and Linux Standalone`**, **`iOS`** or **`Android`**): 1. Go into `Other Settings`. 2. Select `Scripting Runtime Version` to `Experimental (.NET 4.6 Equivalent)` - 3. In `Scripting Defined Symbols`, add the flag `ENABLE_TENSORFLOW` -5. Restart the Unity Editor. + 3. In `Scripting Defined Symbols`, add the flag `ENABLE_TENSORFLOW`. After typing in, press Enter. +5. Go to `File` -> `Save Project` +6. Restart the Unity Editor. ### Embedding the trained model into Unity