Update app.py
Browse files
app.py
CHANGED
@@ -65,6 +65,8 @@ model.add(Dense(24, activation='relu'))
|
|
65 |
#model.add(Dense(50, activation='relu'))
|
66 |
model.add(Dense(24, activation='softmax'))
|
67 |
|
|
|
|
|
68 |
model.fit(X_train, y_train, epochs=20, batch_size=128)
|
69 |
score = model.evaluate(X_test, y_test, batch_size=128)
|
70 |
model.summary()
|
|
|
65 |
#model.add(Dense(50, activation='relu'))
|
66 |
model.add(Dense(24, activation='softmax'))
|
67 |
|
68 |
+
model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['accuracy'])
|
69 |
+
|
70 |
model.fit(X_train, y_train, epochs=20, batch_size=128)
|
71 |
score = model.evaluate(X_test, y_test, batch_size=128)
|
72 |
model.summary()
|