From d5b521404795075e40f426d798c2d83b1f913bd1 Mon Sep 17 00:00:00 2001 From: Jaesuk Hwang Date: Mon, 10 Feb 2025 23:54:18 +0900 Subject: [PATCH] Change to follow the change of Keras v3.5.0 Keras has introduced a new way of what/how `get_file()` returns since v3.5.0. Therefore, the tutorial is not working anymore with the latest TensorFlow with the affected Keras. The details are below. - https://github.com/keras-team/keras/compare/v3.5.0...master - https://github.com/keras-team/keras/commit/dcefb139863505d166dd1325066f329b3033d45a --- site/en/tutorials/structured_data/time_series.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/en/tutorials/structured_data/time_series.ipynb b/site/en/tutorials/structured_data/time_series.ipynb index 31aab38485..997a5e3c45 100644 --- a/site/en/tutorials/structured_data/time_series.ipynb +++ b/site/en/tutorials/structured_data/time_series.ipynb @@ -97,7 +97,6 @@ }, "outputs": [], "source": [ - "import os\n", "import datetime\n", "\n", "import IPython\n", @@ -138,7 +137,7 @@ " origin='https://storage.googleapis.com/tensorflow/tf-keras-datasets/jena_climate_2009_2016.csv.zip',\n", " fname='jena_climate_2009_2016.csv.zip',\n", " extract=True)\n", - "csv_path, _ = os.path.splitext(zip_path)" + "csv_path = f'{zip_path}/jena_climate_2009_2016.csv'" ] }, {