python 实践程序1——实现binaryproto文件到npy文件的转化 2015-04-14 16:49 2682人阅读 评论(0) 收藏 举报 分类: python 版权声明:本文为博主原创文章,未经博主允许不得转载。 [html] view plain copy import numpy as np c=np.fromfile("mean.binaryproto", dtype=np.float) print c np.save("a.npy", c) b=np.load('a.npy') print b