Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions docs/Migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,25 @@
* In order to run a training session, you can now use the command
`mlagents-learn` instead of `python3 learn.py` after installing the `mlagents`
packages. This change is documented
[here](Training-ML-Agents.md#training-with-mlagents-learn).
[here](Training-ML-Agents.md#training-with-mlagents-learn). For example,
if we previously ran

```sh
python3 learn.py 3DBall --train
```

from the `python/` directory, we now run

```sh
mlagents-learn config/trainer_config.yaml --env=3DBall --train
```

from the directory where we installed the ML-Agents Toolkit.

* It is now required to specify the path to the yaml trainer configuration file
when running `mlagents-learn`. For example, see
[trainer_config.yaml](../config/trainer_config.yaml).
when running `mlagents-learn`. For an example trainer configuration file, see
[trainer_config.yaml](../config/trainer_config.yaml). An example of passing
a trainer configuration to `mlagents-learn` is shown above.
* The environment name is now passed through the `--env` option.
* Curriculum files must now be placed into a folder and be named appropriately.
Refer to the
Expand Down