【问题标题】:Caffe's second "top" of `"Accuracy"` layerCaffe 的“Accuracy”层的第二个“top”
【发布时间】:2017-08-03 12:01:11
【问题描述】:

查看"Accuracy" 层的代码,我看到该层有第二个输出/“顶部”的选项。
第二个输出会产生什么?

【问题讨论】:

    标签: machine-learning neural-network computer-vision deep-learning caffe


    【解决方案1】:

    查看accuracy_layer.hpp,其中定义了层的输出数量,有这样的评论:

    // If there are two top blobs, then the second blob will contain
    // accuracies per class.
    

    因此,"Accuracy" 层的第二个"top" 仅报告每个类的准确度。

    作为层准确度的旁注,报告的准确度通过“有效”预测的数量进行归一化(与使用normalization: VALID 损失层相同)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-03-08
      • 2023-03-27
      • 1970-01-01
      • 1970-01-01
      • 2016-01-10
      • 1970-01-01
      • 2017-02-15
      • 2016-03-09
      相关资源
      最近更新 更多