Skip to content

Commit d57cc29

Browse files
shihzyawjuliani
authored andcommitted
Update instructions for setting up TF Sharp (#186)
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.
1 parent 2b267a7 commit d57cc29

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/Getting-Started-with-Balance-Ball.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,14 @@ Once the training process displays an average reward of ~75 or greater, and ther
7777
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.
7878

7979
1. Make sure you are using Unity 2017.1 or newer.
80-
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.
80+
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`
8181
3. Go to `Edit` -> `Project Settings` -> `Player`
8282
4. For each of the platforms you target (**`PC, Mac and Linux Standalone`**, **`iOS`** or **`Android`**):
8383
1. Go into `Other Settings`.
8484
2. Select `Scripting Runtime Version` to `Experimental (.NET 4.6 Equivalent)`
85-
3. In `Scripting Defined Symbols`, add the flag `ENABLE_TENSORFLOW`
86-
5. Restart the Unity Editor.
85+
3. In `Scripting Defined Symbols`, add the flag `ENABLE_TENSORFLOW`. After typing in, press Enter.
86+
5. Go to `File` -> `Save Project`
87+
6. Restart the Unity Editor.
8788

8889
### Embedding the trained model into Unity
8990

0 commit comments

Comments
 (0)