Skip to content

Commit

Permalink
fix chained expansion in ge_layer
Browse files Browse the repository at this point in the history
as reported in #1
  • Loading branch information
markus-k committed Nov 18, 2022
1 parent ec79cf1 commit d902fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def ge_layer(x_in, c, e=6, stride=1):
else:
y = x_in

x = layers.DepthwiseConv2D(depth_multiplier=e, kernel_size=(3,3), padding='same')(x)
x = layers.DepthwiseConv2D(kernel_size=(3,3), padding='same')(x)
x = layers.BatchNormalization()(x)
x = layers.Conv2D(filters=c, kernel_size=(1,1), padding='same')(x)
x = layers.BatchNormalization()(x)
Expand Down

0 comments on commit d902fca

Please sign in to comment.