Created
April 9, 2021 18:58
-
-
Save FourthBrain/0e145b50728d7604fea1ee0a1b73784f to your computer and use it in GitHub Desktop.
MNIST.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fully Connected Layer 6 | |
model.add(Dropout(0.2)) # 20% dropout of randomly selected nodes | |
model.add(Dense(10)) # final 10 FCN nodes | |
model.add(Activation('softmax')) # softmax activation | |
model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['accuracy']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment