We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e26431d commit 816e1d8Copy full SHA for 816e1d8
LearnDigitz/keras_train.py
@@ -50,7 +50,7 @@ def mlp():
50
51
def cnn():
52
return Sequential([
53
- Reshape((28, 28, 1), input_shape=(784, 1)),
+ Reshape((28, 28, 1), input_shape=(784, )),
54
Conv2D(32, [5, 5], padding='same', activation='relu'),
55
MaxPooling2D(strides=2),
56
Conv2D(64, [5, 5], padding='same', activation='relu'),
0 commit comments