From 4dbb0da764c87fb78f1691fbf53cbce008598b69 Mon Sep 17 00:00:00 2001 From: Toby Boyd Date: Thu, 9 Apr 2020 10:16:02 -0700 Subject: [PATCH] Document tensorflow-probability==0.8.0 for TF-Agents 0.3.0. PiperOrigin-RevId: 305708412 Change-Id: Id56041948e82ebeecb6fe02ffa3c0c42d45dac6f --- README.md | 14 ++++++++++---- docs/overview.md | 11 +++++++++-- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7e2fc2954..6da7b2503 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ need an intro to RL (or a quick recap), [DQN tutorial](docs/tutorials/1_dqn_tutorial.ipynb) to get an agent up and running in the Cartpole environment. -**NOTE:** 0.4.0 is the new stable release (03-APR-2020) is only tested with +**NOTE:** 0.4.0 is the new stable release (07-APR-2020) and was tested with Python3 and TensorFlow 2.1.x. `pip install tf-agents` TF-Agents is under active development and interfaces may change at any time. @@ -85,9 +85,7 @@ GitHub clone. ### Stable Run the commands below to install the most recent stable release (0.4.0), which -was tested with TensorFlow 2.1.x and and Python3. If you want to use TF-Agents -with TensorFlow 1.15 or 2.0 install version 0.3.0: -`pip install tf-agents==0.3.0`. +was tested with TensorFlow 2.1.x and and Python3. ```bash pip install --user tf-agents @@ -100,6 +98,14 @@ git checkout v0.4.0 ``` +If you want to use TF-Agents with TensorFlow 1.15 or 2.0, install version 0.3.0: + +```bash +pip install tf-agents==0.3.0 +# Newer versions of tensorflow-probability require newer versions of TensorFlow. +pip install tensorflow-probability==0.8.0 +``` + ### Nightly Nightly builds include newer features, but may be less stable than the versioned diff --git a/docs/overview.md b/docs/overview.md index 2d4ab7baf..0038eac19 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -18,8 +18,7 @@ GitHub clone. ### Stable Run the commands below to install the most recent stable release (0.4.0), which -was tested with TensorFlow 2.1.x and and Python3. If you want to use TF-Agents -with TensorFlow 1.15 or 2.0 install version 0.3.0: +was tested with TensorFlow 2.1.x and Python3. `pip install tf-agents==0.3.0`. ```bash @@ -33,6 +32,14 @@ git checkout v0.4.0 ``` +If you want to use TF-Agents with TensorFlow 1.15 or 2.0, install version 0.3.0: + +```bash +pip install tf-agents==0.3.0 +# Newer versions of tensorflow-probability require newer versions of TensorFlow. +pip install tensorflow-probability==0.8.0 +``` + ### Nightly Nightly builds include newer features, but may be less stable than the versioned