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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
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 description of class