Update ilsvrc_2012_mean.mat to W x H x C, update demo and add comments
authorRonghang Hu <huronghang@hotmail.com>
Sat, 30 May 2015 01:37:32 +0000 (09:37 +0800)
committerRonghang Hu <huronghang@hotmail.com>
Sat, 30 May 2015 06:28:18 +0000 (14:28 +0800)
commit97b4c1453377e6257f6b5efc32e2d5bc472e9323
treef11b5c72488a54ee9757fb3f9379de6e48af9628
parent3cc9baca3187e60d3cb022951c20f8858986fda2
Update ilsvrc_2012_mean.mat to W x H x C, update demo and add comments

Update previously ilsvrc_2012_mean.mat stores 'image_mean' variable in
H x W x C with BGR channels, which is inconsistent with Caffe's data format
and inconsistent with caffe.io.read_mean(..). Replace 'image_mean' with
'mean_data' variable in W x H x C and update classification_demo.m. Also add
some comments.
matlab/+caffe/imagenet/ilsvrc_2012_mean.mat
matlab/+caffe/io.m
matlab/demo/classification_demo.m