GitHub Issue #40462 fix typo
PiperOrigin-RevId: 317504961 Change-Id: I80c98d7f317280588a400eadcd0adf19d728ce66
This commit is contained in:
parent
443e2ae284
commit
2e7f0f4f04
|
@ -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 '
|
||||
|
|
Loading…
Reference in New Issue