Skip to content

Commit

Permalink
Merge pull request #15177 from YoniChechik:patch-1
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 391561552
  • Loading branch information
tensorflower-gardener committed Aug 18, 2021
2 parents 05048b7 + a23d4ed commit fe9452a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/preprocessing/image_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def image_dataset_from_directory(directory,
num_channels = 1
else:
raise ValueError(
'`color_mode` must be one of {"rbg", "rgba", "grayscale"}. '
'`color_mode` must be one of {"rgb", "rgba", "grayscale"}. '
f'Received: color_mode={color_mode}')
interpolation = image_preprocessing.get_interpolation(interpolation)
dataset_utils.check_validation_split_arg(
Expand Down

0 comments on commit fe9452a

Please sign in to comment.