Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the label map between trained model like googleNet's output to there real class label?

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.

like image 884
Qingxin Zheng Avatar asked Mar 17 '23 08:03

Qingxin Zheng


1 Answers

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

like image 91
Shai Avatar answered Apr 27 '23 01:04

Shai