制作lmdb数据集的图片均值脚本(mean.binaryproto)
#!/usr/bin/env sh
EXAMPLE=/home/hadoop/桌面/caffe_study/more_eyes
DATA=/home/hadoop/桌面/caffe_study/more_eyes
TOOLS=/home/hadoop/caffe/build/tools
$TOOLS/compute_image_mean $EXAMPLE/train_lmdb \
$DATA/imagenet_mean.binaryproto
echo "Done."
~