You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I found a bug in Keras 3.0.5.
The minimal code snippet triggering the bug is as following.
from keras.layers import UpSampling2D
import numpy as np
import keras
x = np.ones((1,2,3,4))
layer = UpSampling2D(data_format='channels_first',interpolation='bilinear')
print(layer(x).shape)
print(layer.compute_output_shape(x.shape))
print(keras.__version__)
The output is:
(1, 2, 8, 4)
(1, 2, 6, 8)
3.0.5
I believe they should be the same shape. Could you please have a look?
The text was updated successfully, but these errors were encountered:
Maybe I found a bug in Keras 3.0.5.
The minimal code snippet triggering the bug is as following.
The output is:
I believe they should be the same shape. Could you please have a look?
The text was updated successfully, but these errors were encountered: