Compare commits

...
Author SHA1 Message Date
Karl Weinmeister a7f81cc3b9 Fix: address linting issues in two tower notebook 2022-03-22 15:42:17 -05:00
Karl Weinmeister 13fc7054b0 build: Reverted change to base branch 2021-12-15 11:34:54 -06:00
Karl Weinmeister 5fa76415d6 build: Testing change to notebook test to resolve build error 2021-12-15 11:30:28 -06:00
Karl WeinmeisterandGitHub aa718c9568 Add tensorflow pip install to migration notebook
The build is failing due to tensorflow missing. Adding this dependency.
2021-12-15 10:31:57 -06:00
2 changed files with 4 additions and 5 deletions
@@ -8,7 +8,7 @@
},
"outputs": [],
"source": [
"# Copyright 2021 Google LLC\n",
"# Copyright 2022 Google LLC\n",
"#\n",
"# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"# you may not use this file except in compliance with the License.\n",
@@ -268,7 +268,7 @@
"\n",
"# Get your Google Cloud project ID from gcloud\n",
"if not os.getenv(\"IS_TESTING\"):\n",
" shell_output=! gcloud config list --format 'value(core.project)' 2>/dev/null\n",
" shell_output = ! gcloud config list --format 'value(core.project)' 2>/dev/null\n",
" PROJECT_ID = shell_output[0]\n",
" print(\"Project ID: \", PROJECT_ID)"
]
@@ -497,7 +497,6 @@
},
"outputs": [],
"source": [
"import json\n",
"import os\n",
"import re\n",
"import time\n",
@@ -147,7 +147,7 @@
"id": "install_storage"
},
"source": [
"Install the latest GA version of *google-cloud-storage* library as well."
"Install the latest GA version of *google-cloud-storage* and *tensorflow* libraries as well."
]
},
{
@@ -158,7 +158,7 @@
},
"outputs": [],
"source": [
"! pip3 install -U google-cloud-storage $USER_FLAG"
"! pip3 install -U google-cloud-storage tensorflow $USER_FLAG"
]
},
{