Skip to content

Instantly share code, notes, and snippets.

@amirhfarzaneh
Created February 23, 2018 09:09
Show Gist options
  • Save amirhfarzaneh/d810d8d717bcd4ebfc54863dda926aaf to your computer and use it in GitHub Desktop.
Save amirhfarzaneh/d810d8d717bcd4ebfc54863dda926aaf to your computer and use it in GitHub Desktop.
eval_input_fn = tf.estimator.inputs.numpy_input_fn(x={"x": eval_data},
y=eval_labels,
num_epochs=1,
shuffle=False)
eval_results = mnist_classifier.evaluate(input_fn=eval_input_fn)
print(eval_results)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment