mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Remove unused import and use /gcs path instead of gs://
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user