To view the values of image-mean data stored in binaryproto format, use the following:
import caffe
import numpy as np
import sys
blob = caffe.proto.caffe_pb2.BlobProto()
data = open( 'YOURBPFILE.binaryproto' , 'rb' ).read()
blob.ParseFromString(data)
arr = np.array( caffe.io.blobproto_to_array(blob) )
print arr
import numpy as np
import sys
blob = caffe.proto.caffe_pb2.BlobProto()
data = open( 'YOURBPFILE.binaryproto' , 'rb' ).read()
blob.ParseFromString(data)
arr = np.array( caffe.io.blobproto_to_array(blob) )
print arr