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

Change default fill_mode from nearest to constant #3

Closed
wants to merge 1 commit into from

Conversation

ozabluda
Copy link

@ozabluda ozabluda commented Jun 2, 2018

The default fill_mode='nearest' (which was there from the very beginning) for points outside the boundaries of the input is contrary to typical value used ('constant') as well as defaults in SciPy, OpenCV, and everything else I know.

Note that this is different from interpolation for for example for load_img (for example see keras-team/keras#8435)

Also see keras-team/keras#2446

Redirected from PR keras-team/keras#8848

@Dref360 Dref360 requested a review from fchollet July 25, 2018 21:29
@rragundez rragundez added the image Related to images label Jan 13, 2019
@Dref360
Copy link
Contributor

Dref360 commented Sep 3, 2019 via email

@fchollet
Copy link
Contributor

fchollet commented Feb 9, 2022

Closing outdated PR. Note that the Keras Preprocessing repository is no longer in use, instead please just use the dataset utilities provided in tf.keras.utils (see docs).

@fchollet fchollet closed this Feb 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
image Related to images
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants