发布网友 发布时间:2022-07-22 05:13
共1个回答
热心网友 时间:2023-11-05 15:52
以下是 python 代码,只描述了大致思想 import scipy.io as sio net = caffe.Net(prototxt, caffemodel, caffe.TEST) for layer in net.key: weight = net.param[layer][0] # 存放 weight bias = net.param[layer][1] # 存放 bias sio.savemat