Skip to content

Instantly share code, notes, and snippets.

@rajeshmr
Created December 7, 2017 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajeshmr/40ccbe22292165055e6a29801e6f3cea to your computer and use it in GitHub Desktop.
Save rajeshmr/40ccbe22292165055e6a29801e6f3cea to your computer and use it in GitHub Desktop.
model.fit(x_train, y_train, validation_data=(x_val, y_val), epochs=2, batch_size=128)
score = model.evaluate(x_val, y_val, verbose=0)
print('Test loss:', score[0])
print('Test accuracy:', score[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment