浏览代码

Migration - add a note about updating both python and c# (#2900)

* Migration - add a note about updating both python and c#

* Update Migrating.md

* trailing whitespace

* Add where to find the API versions
/develop
GitHub 5 年前
当前提交
b9134367
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      docs/Migrating.md

7
docs/Migrating.md


# Upgrading
## :warning: Warning :warning:
The C# editor code and python trainer code are not compatible between releases. This means that if you upgrade one, you *must* upgrade the other as well. If you experience new errors or unable to connect to training after updating, please double-check that the versions are in the same.
The versions can be found in
* `Academy.k_ApiVersion` in Academy.cs ([example](https://github.com/Unity-Technologies/ml-agents/blob/b255661084cb8f701c716b040693069a3fb9a257/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs#L95))
* `UnityEnvironment.API_VERSION` in environment.py ([example](https://github.com/Unity-Technologies/ml-agents/blob/b255661084cb8f701c716b040693069a3fb9a257/ml-agents-envs/mlagents/envs/environment.py#L45))
# Migrating
## Migrating from ML-Agents toolkit v0.10 to v0.11

正在加载...
取消
保存