prune-caffemodel If you want this code is useful to you, you should change your CmakeList.txt,and maybe you should do something to Caffe.