How to create "mean file" and "synset_words.txt" for Fine-Tuning data?

1,102 views
Skip to first unread message

hamlet11ito

unread,
Oct 15, 2015, 9:50:19 AM10/15/15
to Caffe Users
I'm a bigginer Caffe user. I've learned about the power of Fine-tuning. In fact, I followed the Training instruction for the "Flickr Style" case. Now, after training, Im ready to test the prediction.

But,I can not find 2 files(out of 4) needed to run classification.bin:
Flick-style counter parts/files of "imagenet_mean.binaryproto" and
"synset_words.txt".

Model files are ok - there is Flickr-style's "deploy.prototxt", and I can use the caffe midel file "bvlc_reference_caffenet.caffemodel" since this fine-tuning is on the architecture of imafenet/ildvrc2012.

I really appreciare your help for the 2files, and feedbacks to my statenent.
Thks in adcabce!

Wei Liu

unread,
Nov 2, 2015, 7:20:26 AM11/2/15
to Caffe Users
In this example, 

You will first need to prepare some auxiliary data for training. This data can be downloaded by:

./data/ilsvrc12/get_ilsvrc_aux.sh

The training and validation input are described in train.txt and val.txt as text listing all the files and their labels. Note that we use a different indexing for labels than the ILSVRC devkit: we sort the synset names in their ASCII order, and then label them from 0 to 999. See synset_words.txt for the synset/name mapping.

Reply all
Reply to author
Forward
0 new messages