From f148784e14f01b5cce1729048e838b9812ec96e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Mon, 18 Apr 2022 10:45:53 +1200 Subject: [PATCH] Remove unused import and use /gcs path instead of gs:// --- 19_training_and_deploying_at_scale.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/19_training_and_deploying_at_scale.ipynb b/19_training_and_deploying_at_scale.ipynb index 4205a23..fbdb282 100644 --- a/19_training_and_deploying_at_scale.ipynb +++ b/19_training_and_deploying_at_scale.ipynb @@ -2113,7 +2113,6 @@ "source": [ "%%writefile my_mnist_multiworker_task.py\n", "\n", - "from pathlib import Path\n", "import tempfile\n", "import tensorflow as tf\n", "\n", @@ -2455,8 +2454,7 @@ "import keras_tuner as kt\n", "import tensorflow as tf\n", "\n", - "gcs_path = \"gs://my_bucket/my_hp_search\"\n", - "gcs_path = gcs_path.replace(\"gs://\", \"/gcs/\") # uses GCS Fuse\n", + "gcs_path = \"/gcs/my_bucket/my_hp_search\" # replace with your bucket's name\n", "\n", "def build_model(hp):\n", " n_hidden = hp.Int(\"n_hidden\", min_value=0, max_value=8, default=2)\n",