查看"Accuracy"
的代码层,我看到该层有一个第二个输出/“顶部”的选项。
第二个输出会产生什么?
最佳答案
查看accuracy_layer.hpp
,其中定义了层的输出数量,有这样的注释:
// If there are two top blobs, then the second blob will contain // accuracies per class.
因此,“Accuracy”
层的第二个“top”
仅报告每个类的准确度。
正如层准确度的附注一样,报告的准确度通过“有效”预测的数量进行标准化(与对损失层使用标准化:VALID
相同)。
关于machine-learning - Caffe "top"Accuracy"` 层的第二个 `",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45483604/