Skip to content

Instantly share code, notes, and snippets.

@rajeshmr
Created December 7, 2017 10:36
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/aa1ea770df4fb98da0831e6bda9a475c to your computer and use it in GitHub Desktop.
Save rajeshmr/aa1ea770df4fb98da0831e6bda9a475c to your computer and use it in GitHub Desktop.
model_1.fit(x_train, y_train, validation_data=(x_val, y_val), epochs=2, batch_size=128)
score = model_1.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