Skip to content

Commit

Permalink
print out accuracy on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Goodfellow committed Sep 19, 2016
1 parent bda50c6 commit 4a60b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_mnist_accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def main(argv=None):

# Evaluate the accuracy of the MNIST model on legitimate test examples
accuracy = tf_model_eval(sess, x, y, predictions, X_test, Y_test)
assert float(accuracy) >= 0.97
assert float(accuracy) >= 0.97, accuracy


if __name__ == '__main__':
Expand Down

0 comments on commit 4a60b39

Please sign in to comment.