forked from keras-team/keras
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to specify resampling method in load_img (keras-team#7975)
* Add option to specify resampling method in load_img * Fix docstring to state that bilinear is the default * Specify interpolation as string rather than PIL constants * Use single quotes for strings * Show the supported interpolation methods if invalid method is specified * Only support lanczos resampling if available * Fix invalid PIL Image name * Add unit tests for load_img function * Fix indentation to comply with PEP8 * Disable explicit nearest neighbor test which is platform dependent
- Loading branch information
Showing
2 changed files
with
95 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters