From fe227a08034e43d1d12dce335fa5f99f252e377d Mon Sep 17 00:00:00 2001 From: DNGros Date: Fri, 21 Apr 2017 17:48:13 -0500 Subject: [PATCH] Fix keras argument spelling error in densenet.py (#74) It looks like in 1d57dd3c63eab5b181c412436c9fcffc748cc72e 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. --- keras_contrib/applications/densenet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keras_contrib/applications/densenet.py b/keras_contrib/applications/densenet.py index 6217061..e03c84c 100644 --- a/keras_contrib/applications/densenet.py +++ b/keras_contrib/applications/densenet.py @@ -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)