From 6fac7fd5ad8998e72c9c95ef42f91248e75a425e Mon Sep 17 00:00:00 2001 From: Ervin Teng Date: Tue, 15 Sep 2020 15:51:38 -0700 Subject: [PATCH 1/3] Update install doc for PyTorch --- docs/Training-ML-Agents.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/Training-ML-Agents.md b/docs/Training-ML-Agents.md index ab3d548331..5d992f5754 100644 --- a/docs/Training-ML-Agents.md +++ b/docs/Training-ML-Agents.md @@ -565,15 +565,15 @@ be installed, and PyTorch must be enabled for your trainer. #### 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). - -We support versions 1.6.0 and later. -See the [official install instructions](https://pytorch.org/) for more info. +If you've already installed ML-Agents, follow the +[official install instructions](https://pytorch.org/get-started/locally/) for +your platform and configuration. Note that on Windows, you may need the +[Visual C++ Redistributable](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) if you don't have it already. + +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 From 82e56d26f0d99685460f840ca8ab5337e5a4bb9a Mon Sep 17 00:00:00 2001 From: Ervin Teng Date: Tue, 15 Sep 2020 15:53:47 -0700 Subject: [PATCH 2/3] Update language --- docs/Training-ML-Agents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Training-ML-Agents.md b/docs/Training-ML-Agents.md index 5d992f5754..c2276020fd 100644 --- a/docs/Training-ML-Agents.md +++ b/docs/Training-ML-Agents.md @@ -567,7 +567,7 @@ be installed, and PyTorch must be enabled for your trainer. If you've already installed ML-Agents, follow the [official install instructions](https://pytorch.org/get-started/locally/) for -your platform and configuration. Note that on Windows, you may need the +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. If you're installing or upgrading ML-Agents on Linux or Mac, you can also run From 432973fb2babb0d9854c802e27aac50d3fe21f28 Mon Sep 17 00:00:00 2001 From: Ervin Teng Date: Tue, 15 Sep 2020 15:54:26 -0700 Subject: [PATCH 3/3] Update language --- docs/Training-ML-Agents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Training-ML-Agents.md b/docs/Training-ML-Agents.md index c2276020fd..035ad5a255 100644 --- a/docs/Training-ML-Agents.md +++ b/docs/Training-ML-Agents.md @@ -566,7 +566,7 @@ be installed, and PyTorch must be enabled for your trainer. #### Installing PyTorch If you've already installed ML-Agents, follow the -[official install instructions](https://pytorch.org/get-started/locally/) for +[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.