Skip to content

Commit fc88fff

Browse files
authored
Update images.ipynb
The `untar` argument is now deprecated in favor of `extract` according to the information at https://www.tensorflow.org/api_docs/python/tf/keras/utils/get_file
1 parent 881afa3 commit fc88fff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/en/tutorials/load_data/images.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@
151151
"import pathlib\n",
152152
"dataset_url = \"https://storage.googleapis.com/download.tensorflow.org/example_images/flower_photos.tgz\"\n",
153153
"data_dir = tf.keras.utils.get_file(origin=dataset_url,\n",
154-
" fname='flower_photos',\n",
155-
" untar=True)\n",
154+
" fname='flower_photos.tar',\n",
155+
" extract=True)\n",
156156
"data_dir = pathlib.Path(data_dir)"
157157
]
158158
},

0 commit comments

Comments
 (0)