mirror of
https://github.com/wassname/keras-contrib.git
synced 2026-07-21 12:40:40 +08:00
Fix keras argument spelling error in densenet.py (#74)
It looks like in 1d57dd3c63 a spelling error ("kenel" not "kernal") was introduced into densenet.py that causes an argument error from keras when trying to use the network. This pull request corrects that.
This commit is contained in:
@@ -328,7 +328,7 @@ def __conv_block(ip, nb_filter, bottleneck=False, dropout_rate=None, weight_deca
|
||||
x = Activation('relu')(x)
|
||||
|
||||
x = Conv2D(nb_filter, (3, 3), kernel_initializer='he_uniform', padding='same', use_bias=False,
|
||||
kenel_regularizer=l2(weight_decay))(x)
|
||||
kernel_regularizer=l2(weight_decay))(x)
|
||||
if dropout_rate:
|
||||
x = Dropout(dropout_rate)(x)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user