This should be in the image has been converted into Lmdb format in order to find the mean value ...
1. See if the bin in the Caffe root directory exists Compute_image_mean.exe (with the happey of the Great God)
If it does not exist, you need to open MainBuilder.sln, right-compute_image_mean-only for project-Generate Compute_image_mean only.
2. Create a new Computeimagemean.bat file
3. Edit Computeimagemean.bat, open add with Notepad
D:/deeptools/caffe-windows-master/bin/compute_image_mean.exe d:/deeptools/caffe-windows-master/examples/myfile/ train_db D:/deeptools/caffe-windows-master/examples/myfile/mean.binaryproto
Pause
Explain:
"1" D:/deeptools/caffe-windows-master/bin/compute_image_mean.exe this is the absolute path where Compute_image_mean.exe is located.
"2" d:/deeptools/caffe-windows-master/examples/myfile/train_db your picture into the Lmdb location
"3" D:/deeptools/caffe-windows-master/examples/myfile/mean.binaryproto turn into Mean.binaryproto place
Save
4. Double-click Computeimagemean.bat
At this point, we get the mean value of the picture
Windows+caffe (c)--the mean value of the picture