after training mnist tensor flow model and below I test model. I don't know how we extract the predict labels results list. It just gives me accuracy and loss value. Anyone can help me to solve this question?
# Evaluate the model and print results
eval_input_fn = tf.compat.v1.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)
Aucun commentaire:
Enregistrer un commentaire