Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit 43b1174

Browse files
added docs for the resizing function in dataframe iterator
1 parent e157386 commit 43b1174

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

keras_preprocessing/image/dataframe_iterator.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ class DataFrameIterator(BatchFromFilesMixin, Iterator):
8080
If PIL version 1.1.3 or newer is installed, "lanczos" is also
8181
supported. If PIL version 3.4.0 or newer is installed, "box" and
8282
"hamming" are also supported. By default, "nearest" is used.
83+
resizing_function: function, used to resize the loaded images to the
84+
target size. this will overrule interpolation. If None, then
85+
interpolation will happen. The input is an image in the specified
86+
data format, and the output has to be an image in the specified
87+
data format with the target size.
8388
dtype: Dtype to use for the generated arrays.
8489
validate_filenames: Boolean, whether to validate image filenames in
8590
`x_col`. If `True`, invalid images will be ignored. Disabling this option

0 commit comments

Comments
 (0)