Skip to content

Instantly share code, notes, and snippets.

@sararob
Created August 14, 2018 18:27
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 sararob/40a31adc978f28a68b93c310238b9c27 to your computer and use it in GitHub Desktop.
Save sararob/40a31adc978f28a68b93c310238b9c27 to your computer and use it in GitHub Desktop.
eval_input_fn = tf.estimator.inputs.numpy_input_fn({"descriptions": np.array(test_descriptions).astype(np.str)}, test_encoded.astype(np.int32), shuffle=False)
estimator.evaluate(input_fn=eval_input_fn)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment