You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by jr...@apache.org on 2024/05/01 17:57:09 UTC
(beam) branch master updated: Pin tensorflow version in notebook (#31145)
This is an automated email from the ASF dual-hosted git repository.
jrmccluskey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 44e2abea788 Pin tensorflow version in notebook (#31145)
44e2abea788 is described below
commit 44e2abea7887cd692ef7e5623c632442858c51ba
Author: Danny McCormick <da...@google.com>
AuthorDate: Wed May 1 13:57:03 2024 -0400
Pin tensorflow version in notebook (#31145)
---
examples/notebooks/beam-ml/automatic_model_refresh.ipynb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/notebooks/beam-ml/automatic_model_refresh.ipynb b/examples/notebooks/beam-ml/automatic_model_refresh.ipynb
index 54fb16b6ef0..5b5d2ed484c 100644
--- a/examples/notebooks/beam-ml/automatic_model_refresh.ipynb
+++ b/examples/notebooks/beam-ml/automatic_model_refresh.ipynb
@@ -131,7 +131,7 @@
}],
"source": [
"!pip install apache_beam[gcp]>=2.46.0 --quiet\n",
- "!pip install tensorflow --quiet\n",
+ "!pip install tensorflow==2.15.0 --quiet\n",
"!pip install tensorflow_hub --quiet"
]
},
@@ -272,7 +272,7 @@
"cell_type": "code",
"source": [
"# In a requirements file, define the dependencies required for the pipeline.\n",
- "!printf 'tensorflow>=2.12.0\\ntensorflow_hub>=0.10.0\\nPillow>=9.0.0' > ./requirements.txt\n",
+ "!printf 'tensorflow==2.15.0\\ntensorflow_hub>=0.10.0\\nPillow>=9.0.0' > ./requirements.txt\n",
"# Install the pipeline dependencies on Dataflow.\n",
"options.view_as(SetupOptions).requirements_file = './requirements.txt'"
],