Kolpitor commited on
Commit
194ee29
1 Parent(s): ff78f6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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()