浏览代码

[docs] Update install docs for PyTorch (#4488)

/release_7_branch
GitHub 4 年前
当前提交
66847474
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 16
      docs/Training-ML-Agents.md

16
docs/Training-ML-Agents.md


#### Installing PyTorch
If you've already installed ML-Agents, installing PyTorch can be
done by running `pip3 install torch` after activating your virtual
environment.
If you're installing or upgrading ML-Agents, run `pip3 install mlagents[torch]`
instead of `pip3 install mlagents` during [installation](Installation.md).
If you've already installed ML-Agents, follow the
[official PyTorch install instructions](https://pytorch.org/get-started/locally/) for
your platform and configuration. Note that on Windows, you may also need Microsoft's
[Visual C++ Redistributable](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) if you don't have it already.
We support versions 1.6.0 and later.
See the [official install instructions](https://pytorch.org/) for more info.
If you're installing or upgrading ML-Agents on Linux or Mac, you can also run
`pip3 install mlagents[torch]` instead of `pip3 install mlagents`
during [installation](Installation.md). On Windows, install ML-Agents first and then
separately install PyTorch.
#### Enabling PyTorch

正在加载...
取消
保存