Skip to content

Commit 9b08f33

Browse files
ozabludafchollet
authored andcommitted
Change default interpolation from nearest to bilinear. (#8849)
1 parent f6958ab commit 9b08f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras/preprocessing/image.py

Lines changed: 1 addition & 1 deletion
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)