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

Commit

Permalink
added docs for the resizing function in dataframe iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
zaccharieramzi committed Dec 8, 2019
1 parent 9022959 commit e1acace
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions keras_preprocessing/image/dataframe_iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ class DataFrameIterator(BatchFromFilesMixin, Iterator):
If PIL version 1.1.3 or newer is installed, "lanczos" is also
supported. If PIL version 3.4.0 or newer is installed, "box" and
"hamming" are also supported. By default, "nearest" is used.
resizing_function: function, used to resize the loaded images to the
target size. this will overrule interpolation. If None, then
interpolation will happen. The input is an image in the specified
data format, and the output has to be an image in the specified
data format with the target size.
dtype: Dtype to use for the generated arrays.
validate_filenames: Boolean, whether to validate image filenames in
`x_col`. If `True`, invalid images will be ignored. Disabling this option
Expand Down

0 comments on commit e1acace

Please sign in to comment.