Skip to content

Commit 3f2674b

Browse files
SinaChavoshiTensorflow Cloud maintainers
authored andcommitted
Two fixes:
1. Overwrite previous CloudTuner Runs to avoid erroring out due to failed runs. 2. Remove version number for kerastuner and tfc in example to use latest. PiperOrigin-RevId: 361048004
1 parent d7daed9 commit 3f2674b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/hp_tuning_cifar10_using_google_cloud.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
" max_trials=100,\n",
287287
" directory=GCS_BASE_PATH,\n",
288288
" study_id=STUDY_ID,\n",
289-
" overwrite=False,\n",
289+
" overwrite=True,\n",
290290
" distribution_strategy=distribution_strategy)"
291291
]
292292
},
@@ -339,8 +339,8 @@
339339
"with open('requirements.txt','w') as f:\n",
340340
" f.write('pandas==1.1.5\\n')\n",
341341
" f.write('numpy==1.18.5\\n')\n",
342-
" f.write('tensorflow-cloud==0.1.11\\n')\n",
343-
" f.write('keras-tuner==1.0.2\\n')\n",
342+
" f.write('tensorflow-cloud\\n')\n",
343+
" f.write('keras-tuner\\n')\n",
344344
"\n",
345345
"# Optional: Some recommended base images. If you provide none the system will choose one for you.\n",
346346
"TF_GPU_IMAGE= \"tensorflow/tensorflow:latest-gpu\"\n",

examples/hp_tuning_wide_and_deep_model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@
429429
" max_trials=100,\n",
430430
" directory=GCS_BASE_PATH,\n",
431431
" study_id=STUDY_ID,\n",
432-
" overwrite=False,\n",
432+
" overwrite=True,\n",
433433
" distribution_strategy=distribution_strategy)"
434434
]
435435
},

0 commit comments

Comments
 (0)