Keras-preprocessing

Latest version: v1.1.2

Safety actively analyzes 619401 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.0

Changelog

All image iterators

- Added tif/tiff as valid image formats.

DataFrameIterator

- Removed value `"other"` for `class_mode` argument in `image.DataFrameIterator`; added values `"raw"` and `"multi_output"` (and in `ImageDataGenerator.flow_from_dataframe`)..
- Added argument `weight_col` in `image. DataFrameIterator` (and in `ImageDataGenerator.flow_from_dataframe`).
- Removed argument `drop_duplicates` `image.DataFrameIterator` (and in `ImageDataGenerator.flow_from_dataframe`).
- Added argument `validate_filenames` in `image.DataFrameIterator` (and in `ImageDataGenerator.flow_from_dataframe`).

1.0.9

Bugfix release.

1.0.8

This is a bugfix release, removing an import that caused issues. See [prior changelog](https://github.com/keras-team/keras-preprocessing/releases/tag/1.0.6).

1.0.7

Remove an import that would cause a failure if pandas is not installed.

1.0.6

Changelog

- In `flow_from_dataframe`, `has_ext` is now deprecated.
- In `DataframeIterator`, `sort` is now deprecated.
- `flow_from_dataframe` now supports absolute paths.
- Most transformations now support an `order` parameters which can be used to determine the interpolation following PIL standard. The default is using `nearest`, which was the default before this addition.

Credits

Special thanks to Dref360, the primary maintainer, who makes the existence of this module possible. We also thank KuzMenachem, a-c-ozbek, apatsekin, fuzzythecat, heytitle, mkaze, piyushchauhan, rragundez, smurak, srajanpaliwal, who contributed to this release.

1.0.5

Revert breaking change in behavior of `num_words` argument in `Tokenizer` class.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.