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:
DNGros
2017-04-21 15:48:13 -07:00
committed by Michael Oliver
parent 1d57dd3c63
commit fe227a0803
+1 -1
View File
@@ -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)