Skip to content

Commit 1a30e77

Browse files
ozabludalenjoy
authored andcommitted
Change default interpolation from nearest to bilinear. (keras-team#8849)
1 parent a36591d commit 1a30e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras/preprocessing/image.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def apply_transform(x,
221221
x_channel,
222222
final_affine_matrix,
223223
final_offset,
224-
order=0,
224+
order=1,
225225
mode=fill_mode,
226226
cval=cval) for x_channel in x]
227227
x = np.stack(channel_images, axis=0)

0 commit comments

Comments
 (0)