sign-language-alphabet-recognizer
sign-language-alphabet-recognizer copied to clipboard
How can I plot confusion matrix
I tried to use code below to plot confusion matrix:
print('Final test accuracy = %.1f%% (N=%d)' % (test_accuracy * 100, len(test_bottlenecks))) confusion = tf.confusion_matrix(labels=test_ground_truth, predictions=predictions, num_classes=class_count) confusion_matrix_np = sess.run(confusion, feed_dict={bottleneck_input: test_bottlenecks, ground_truth_input: test_ground_truth})
But it doesn't work. How can I plot confusion matrix?
Hi, Did you find how to to plot confusion matrix for this model ? if so, please be kind enough to share it with me.
I tried to use code below to plot confusion matrix:
print('Final test accuracy = %.1f%% (N=%d)' % (test_accuracy * 100, len(test_bottlenecks))) confusion = tf.confusion_matrix(labels=test_ground_truth, predictions=predictions, num_classes=class_count) confusion_matrix_np = sess.run(confusion, feed_dict={bottleneck_input: test_bottlenecks, ground_truth_input: test_ground_truth})
But it doesn't work. How can I plot confusion matrix?
Hi zerenkin, Did you find how to to plot confusion matrix for this model ? if so, please be kind enough to share it with me.