Skip to content

Commit edf789c

Browse files
authored
Removing deprecated argument
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. This PR replaces the untar argument used in this tutorial's keras.utils.get_file method with extract.
1 parent a89b900 commit edf789c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/tutorials/images/transfer_learning_with_hub.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
"data_root = tf.keras.utils.get_file(\n",
325325
" 'flower_photos',\n",
326326
" 'https://storage.googleapis.com/download.tensorflow.org/example_images/flower_photos.tgz',\n",
327-
" untar=True)"
327+
" extract=True)"
328328
]
329329
},
330330
{

0 commit comments

Comments
 (0)