在哪里可以找到经过训练的模型(例如googleNet的输出)到真实类标签之间的标签图? [英] Where can I find the label map between trained model like googleNet's output to there real class label?

查看:141
本文介绍了在哪里可以找到经过训练的模型(例如googleNet的输出)到真实类标签之间的标签图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每个人,我都是咖啡新手.目前,我尝试使用从模型动物园下载的训练有素的GoogleNet对某些图像进行分类.但是,网络的输出似乎是矢量,而不是真实的标签(如狗,猫). 在哪里可以找到训练有素的模型之间的标签图,例如googleNet的输出到其真实类标签? 谢谢.

everyone, I am new to caffe. Currently, I try to use the trained GoogleNet which was downloaded from model zoo to classify some images. However, the network's output seem to be a vector rather than real label(like dog, cat). Where can I find the label-map between trained model like googleNet's output to their real class label? Thanks.

推荐答案

如果您从git中获得了caffe,则应该在data/ilsvrc12文件夹中找到一个外壳脚本get_ilsvrc_aux.sh.
该脚本应下载用于ilsvrc(用于大规模图像识别挑战的imagenet子集)培训的几个文件.

If you got caffe from git you should find in data/ilsvrc12 folder a shell script get_ilsvrc_aux.sh.
This script should download several files used for ilsvrc (sub set of imagenet used for the large scale image recognition challenge) training.

将为您下载的最有趣的文件是synset_words.txt,该文件有1000行,每个类别由网络标识为一行.
该行的格式为

The most interesting file (for you) that will be downloaded is synset_words.txt, this file has 1000 lines, one line per class identified by the net.
The format of the line is

nXXXXXXXX类的描述

nXXXXXXXX description of class

这篇关于在哪里可以找到经过训练的模型(例如googleNet的输出)到真实类标签之间的标签图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆