Skip to content

Commit 718585e

Browse files
authored
Merge pull request #542 from andersonaddo/patch-1
Slightly improved the instructions in the Ball Balancing tutorial
2 parents 72835e8 + d9dbede commit 718585e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ To summarize, go to your command line, enter the `ml-agents` directory and type:
272272
```python
273273
python3 python/learn.py <env_file_path> --run-id=<run-identifier> --train
274274
```
275+
**Note**: If you're using Anaconda, don't forget to activate the ml-agents environment first.
275276

276277
The `--train` flag tells ML-Agents to run in training mode. `env_file_path` should be the path to the Unity executable that was just created.
277278

@@ -316,6 +317,7 @@ during a successful training session.
316317
Once the training process completes, and the training process saves the model
317318
(denoted by the `Saved Model` message) you can add it to the Unity project and
318319
use it with agents having an **Internal** brain type.
320+
**Note:** Do not just close the Unity Window once the `Saved Model` message appears. Either wait for the training process to close the window or press Ctrl+C at the command-line prompt. If you simply close the window manually, the .bytes file containing the trained model is not exported into the ml-agents folder.
319321

320322
### Setting up TensorFlowSharp Support
321323

0 commit comments

Comments
 (0)