Skip to content

Instantly share code, notes, and snippets.

@rajeshmr
Created December 7, 2017 10:36
Embed
What would you like to do?
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