diff --git a/keras_preprocessing/image/image_data_generator.py b/keras_preprocessing/image/image_data_generator.py index 9a2bb38b..1fd26102 100644 --- a/keras_preprocessing/image/image_data_generator.py +++ b/keras_preprocessing/image/image_data_generator.py @@ -504,7 +504,8 @@ def flow_from_directory(self, follow_links: Whether to follow symlinks inside class subdirectories (default: False). subset: Subset of data (`"training"` or `"validation"`) if - `validation_split` is set in `ImageDataGenerator`. + `validation_split` is set in `ImageDataGenerator`. Files + will be split after sorting in alphanumeric order. interpolation: Interpolation method used to resample the image if the target size is different from that of the loaded image.