We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe7e01 commit 7411f28Copy full SHA for 7411f28
keras_resnet/block/temporal.py
@@ -98,8 +98,8 @@ def f(x):
98
99
100
def _shortcut(a, b):
101
- a_shape = keras.backend.int_shape(a)
102
- b_shape = keras.backend.int_shape(b)
+ a_shape = keras.backend.int_shape(a)[1:]
+ b_shape = keras.backend.int_shape(b)[1:]
103
104
if keras.backend.image_data_format() == "channels_last":
105
x = int(round(a_shape[1] // b_shape[1]))
0 commit comments