Skip to content

Commit

Permalink
Install tf_keras in colabs since it is not in the dependencies yet.
Browse files Browse the repository at this point in the history
We'll remove it in the next release.

PiperOrigin-RevId: 592925209
Change-Id: I50737dbc754291e2e183bee34ee9dad38f562754
  • Loading branch information
esonghori authored and copybara-github committed Dec 21, 2023
1 parent c58ea0c commit 27b851f
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 13 deletions.
3 changes: 2 additions & 1 deletion docs/tutorials/10_checkpointer_policysaver_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@
"!pip install pyglet\n",
"!pip install 'imageio==2.4.0'\n",
"!pip install 'xvfbwrapper==0.2.9'\n",
"!pip install tf-agents[reverb]"
"!pip install tf-agents[reverb]\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/1_dqn_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@
"!pip install 'imageio==2.4.0'\n",
"!pip install pyvirtualdisplay\n",
"!pip install tf-agents[reverb]\n",
"!pip install pyglet"
"!pip install pyglet\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/2_environments_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
},
"outputs": [],
"source": [
"!pip install tf-agents[reverb]\n"
"!pip install tf-agents[reverb]\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/3_policies_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
},
"outputs": [],
"source": [
"!pip install tf-agents"
"!pip install tf-agents\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/4_drivers_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
},
"outputs": [],
"source": [
"!pip install tf-agents\n"
"!pip install tf-agents\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/5_replay_buffers_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
},
"outputs": [],
"source": [
"!pip install tf-agents\n"
"!pip install tf-agents\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/6_reinforce_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
"!pip install 'imageio==2.4.0'\n",
"!pip install pyvirtualdisplay\n",
"!pip install tf-agents[reverb]\n",
"!pip install pyglet xvfbwrapper\n"
"!pip install pyglet xvfbwrapper\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/7_SAC_minitaur_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
"!pip install 'imageio==2.4.0'\n",
"!pip install matplotlib\n",
"!pip install tf-agents[reverb]\n",
"!pip install pybullet"
"!pip install pybullet\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/8_networks_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
},
"outputs": [],
"source": [
"!pip install tf-agents"
"!pip install tf-agents\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/9_c51_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
"!pip install 'imageio==2.4.0'\n",
"!pip install pyvirtualdisplay\n",
"!pip install tf-agents\n",
"!pip install pyglet"
"!pip install pyglet\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/bandits_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
},
"outputs": [],
"source": [
"!pip install tf-agents"
"!pip install tf-agents\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/per_arm_bandits_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@
},
"outputs": [],
"source": [
"!pip install tf-agents"
"!pip install tf-agents\n",
"!pip install tf-keras"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/ranking_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
},
"outputs": [],
"source": [
"!pip install tf-agents[reverb]"
"!pip install tf-agents[reverb]\n",
"!pip install tf-keras"
]
},
{
Expand Down

0 comments on commit 27b851f

Please sign in to comment.