【问题标题】:ILSVRC2012 validation ground_truth labels index not matching pretrained networks indexILSVRC2012 验证 ground_truth 标签索引与预训练网络索引不匹配
【发布时间】:2017-07-21 02:52:51
【问题描述】:

我目前正在使用 Lasagne 库提供的 VGG-S 预训练卷积神经网络,来自以下link

我下载了 ILSVRC2012 的验证数据集以执行分类任务,但我看到文件 ILSVRC2012_devkit_t12_v2/data/ILSVRC2012_validation_ground_truth.txt 中的地面真值与 VGG 的所有输出值都不匹配- S 网络(softmax 值)。

例如:最后一张图片 ILSVRC2012_val_00050000.JPEG 显然是 Llama,vgg-s 输出标签 n°355(美洲驼),而在文件中找到的 ground truth 标签是 n°186(诺里奇梗)。

index-to-label 与one 相同。

谁能告诉我哪里错了? 感谢您的帮助。

【问题讨论】:

    标签: deep-learning conv-neural-network lasagne imagenet pre-trained-model


    【解决方案1】:

    没关系,我发现VGG卷积网络根据这个note使用了不同的类顺序

    可以从以下网站下载使用的验证基础事实标签 here

    【讨论】:

      【解决方案2】:

      您使用的ground truth系统是caffe group开发的,不同于Imagenet标准的groundtruth indexing system。

      https://github.com/BVLC/caffe/tree/master/data/ilsvrc12

      用 val.txt 替换你的 groungtruth。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2021-08-31
        • 2020-06-17
        • 2018-07-24
        • 2020-01-14
        • 2018-09-08
        • 2020-03-11
        • 2020-11-07
        • 1970-01-01
        相关资源
        最近更新 更多