【发布时间】:2017-10-21 11:25:43
【问题描述】:
所以我遵循了本教程并使用我自己的图像进行了重新训练。 https://www.tensorflow.org/tutorials/image_retraining
所以我现在有一个“output_graph.pb”和一个“output_labels.txt”(我可以将其与其他代码一起用于对图像进行分类)。
但我如何使用测试图像文件夹(或至少使用它训练的图像)实际生成混淆矩阵?
有https://www.tensorflow.org/api_docs/python/tf/confusion_matrix 但这似乎没有多大帮助。
这个帖子似乎只是使用数字来表示标签而不是实际文件,但不太确定:how to create confusion matrix for classification in tensorflow
我也不确定如何在这个线程中使用代码: How do i create Confusion matrix of predicted and ground truth labels with Tensorflow?
【问题讨论】:
标签: tensorflow confusion-matrix