GitHub Issue #40462 fix typo

PiperOrigin-RevId: 317504961
Change-Id: I80c98d7f317280588a400eadcd0adf19d728ce66
This commit is contained in:
A. Unique TensorFlower 2020-06-20 20:32:38 -07:00 committed by TensorFlower Gardener
parent 443e2ae284
commit 2e7f0f4f04
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ def image_dataset_from_directory(directory,
'directory. If you wish to infer the labels from the subdirectory '
'names in the target directory, pass `labels="inferred"`. '
'If you wish to get a dataset that only contains images '
'(no labels), pass `labels_mode=None`.')
'(no labels), pass `label_mode=None`.')
if class_names:
raise ValueError('You can only pass `class_names` if the labels are '
'inferred from the subdirectory names in the target '