浏览代码

Merge pull request #899 from Unity-Technologies/hotfix-doc-tensorflow-version

fixed the doc regarding some comments in the issues
/hotfix-v0.9.2a
GitHub 6 年前
当前提交
2243ca29
共有 5 个文件被更改,包括 6 次插入6 次删除
  1. 4
      docs/Installation-Windows.md
  2. 2
      docs/Installation.md
  3. 2
      docs/Limitations.md
  4. 2
      docs/Training-on-Microsoft-Azure-Custom-Instance.md
  5. 2
      docs/Training-on-Microsoft-Azure.md

4
docs/Installation-Windows.md


## Step 1: Install Python via Anaconda
[Download](https://www.anaconda.com/download/#windows) and install Anaconda for Windows. By using Anaconda, you can manage separate environments for different distributions of Python. Python 3 is required as we no longer support Python 2. In this guide, we are using Python version 3.6 and Anaconda version 5.1 ([64-bit](https://repo.continuum.io/archive/Anaconda3-5.1.0-Windows-x86_64.exe) or [32-bit](https://repo.continuum.io/archive/Anaconda3-5.1.0-Windows-x86.exe) direct links).
[Download](https://www.anaconda.com/download/#windows) and install Anaconda for Windows. By using Anaconda, you can manage separate environments for different distributions of Python. Python 3.5 or 3.6 is required as we no longer support Python 2. In this guide, we are using Python version 3.6 and Anaconda version 5.1 ([64-bit](https://repo.continuum.io/archive/Anaconda3-5.1.0-Windows-x86_64.exe) or [32-bit](https://repo.continuum.io/archive/Anaconda3-5.1.0-Windows-x86.exe) direct links).
<p align="center">
<img src="images/anaconda_install.PNG"

You should see `(ml-agents)` prepended on the last line.
Next, install `tensorflow`. Install this package using `pip` - which is a package management system used to install Python packages. Latest versions of Tensorflow won't work, so you will need to make sure that you install version 1.4.0. In the same Anaconda Prompt, type in the following command _(make sure you are connected to the internet)_:
Next, install `tensorflow`. Install this package using `pip` - which is a package management system used to install Python packages. Latest versions of Tensorflow won't work, so you will need to make sure that you install version 1.7.1. In the same Anaconda Prompt, type in the following command _(make sure you are connected to the internet)_:
```
pip install tensorflow==1.7.1

2
docs/Installation.md


## Install Python (with Dependencies)
In order to use ML-Agents, you need Python 3 along with
In order to use ML-Agents, you need Python 3.5 or 3.6 along with
the dependencies listed in the [requirements file](../python/requirements.txt).
Some of the primary dependencies include:
- [TensorFlow](Background-TensorFlow.md)

2
docs/Limitations.md


As of version 0.3, we no longer support Python 2.
### Tensorflow support
Currently Ml-Agents uses TensorFlow 1.4 due to the version of the TensorFlowSharp plugin we are using.
Currently Ml-Agents uses TensorFlow 1.7.1 due to the version of the TensorFlowSharp plugin we are using.

2
docs/Training-on-Microsoft-Azure-Custom-Instance.md


# Setting up a Custom Instance on Microsoft Azure for Training
# Setting up a Custom Instance on Microsoft Azure for Training (works with ML-Agents v0.3)
This page contains instructions for setting up a custom Virtual Machine on Microsoft Azure so you can running ML-Agents training in the cloud.

2
docs/Training-on-Microsoft-Azure.md


# Training on Microsoft Azure
# Training on Microsoft Azure (works with ML-Agents v0.3)
This page contains instructions for setting up training on Microsoft Azure through either [Azure Container Instances](https://azure.microsoft.com/services/container-instances/) or Virtual Machines. Non "headless" training has not yet been tested to verify support.

正在加载...
取消
保存