Skip to content Skip to sidebar Skip to footer

Typeerror: ('keyword Argument Not Understood:', 'init') In Classifier.add

I am just having the following error in the input layer. I do have input data of 4 and the output of one. Additionally, I have one column string. The data is from a CSV file. Any h

Solution 1:

From the docs there is no init argument in the Keras Dense layer, there are kernel_initializer and bias_initializer if you want to initialize any one of them.

Solution 2:

Keras 1.2 doesn't support separate kernel/bias initializers, layers only take a single init parameter, eg, Dense(10, init="normal", activation="relu"). change it to Dense(10, activation="relu")

Post a Comment for "Typeerror: ('keyword Argument Not Understood:', 'init') In Classifier.add"