Skip to content

Commit

Permalink
Fix mnist sklearn wrapper example (#9317)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavithrasv authored and fchollet committed Feb 6, 2018
1 parent 4cde148 commit 48e1e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mnist_sklearn_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def make_model(dense_layer_sizes, filters, kernel_size, pool_size):
model.add(Flatten())
for layer_size in dense_layer_sizes:
model.add(Dense(layer_size))
model.add(Activation('relu'))
model.add(Activation('relu'))
model.add(Dropout(0.5))
model.add(Dense(num_classes))
model.add(Activation('softmax'))
Expand Down

0 comments on commit 48e1e84

Please sign in to comment.