Skip to content

Commit 6a28088

Browse files
author
Chris Elion
authored
Merge branch 'master' into release-0.12.0-to-master
2 parents 9910dc6 + 8a08bc4 commit 6a28088

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

docs/FAQ.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Frequently Asked Questions
22

3+
## Installation problems
4+
5+
### Tensorflow dependency
6+
ML Agents requires TensorFlow; if you don't already have it installed, `pip` will try to install it when you install
7+
the ml-agents package.
8+
9+
If you see a message like this
10+
```console
11+
ERROR: Could not find a version that satisfies the requirement tensorflow<2.0,>=1.7 (from mlagents) (from versions: none)
12+
ERROR: No matching distribution found for tensorflow<2.0,>=1.7 (from mlagents)
13+
```
14+
it means that there is no version of TensorFlow for your python environment. Some known potential causes are:
15+
* You're using 32-bit python instead of 64-bit. See the answer [here](https://stackoverflow.com/a/1405971/224264)
16+
for how to tell which you have installed.
17+
* You're using python 3.8. Tensorflow plans to release packages for this as soon as possible; see
18+
[this issue](https://github.com/tensorflow/tensorflow/issues/33374) for more details.
19+
* You have the `tensorflow-gpu` package installed. This is equivalent to `tensorflow`, however `pip` doesn't recognize
20+
this. The best way to resolve this is to update to `tensorflow==1.15.0` which provides GPU support in the same package
21+
(see the [release notes](https://github.com/tensorflow/tensorflow/issues/33374) for more details.)
22+
* You're on another architecture (e.g. ARM) which requires vendor provided packages.
23+
24+
In all of these cases, the issue is a pip/python environment setup issue. Please search the tensorflow github issues
25+
for similar problems and solutions before creating a new issue.
26+
327
## Scripting Runtime Environment not setup correctly
428

529
If you haven't switched your scripting runtime version from .NET 3.5 to .NET 4.6
@@ -78,3 +102,9 @@ for custom episode-terminating events.
78102
## Problems with training on AWS
79103

80104
Please refer to [Training on Amazon Web Service FAQ](Training-on-Amazon-Web-Service.md#faq)
105+
106+
# Known Issues
107+
108+
## Release 0.10.0
109+
* ml-agents 0.10.0 and earlier were incompatible with TensorFlow 1.15.0; the graph could contain
110+
an operator that `tensorflow_to_barracuda` didn't handle. This was fixed in the 0.11.0 release.

docs/Migrating.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Upgrading
2+
## :warning: Warning :warning:
3+
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.
4+
The versions can be found in
5+
* `Academy.k_ApiVersion` in Academy.cs ([example](https://github.com/Unity-Technologies/ml-agents/blob/b255661084cb8f701c716b040693069a3fb9a257/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs#L95))
6+
* `UnityEnvironment.API_VERSION` in environment.py ([example](https://github.com/Unity-Technologies/ml-agents/blob/b255661084cb8f701c716b040693069a3fb9a257/ml-agents-envs/mlagents/envs/environment.py#L45))
7+
18
# Migrating
29

310
## Migrating from ML-Agents toolkit v0.11.0 to v0.12.0

0 commit comments

Comments
 (0)