Where can I find the label map between trained mod

2020-03-24 04:58发布

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条回答
我欲成王,谁敢阻挡
2楼-- · 2020-03-24 05:39

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

查看更多
登录 后发表回答