您的位置:首页 > 编程语言 > Python开发

caffe for python code

2015-07-02 18:49 706 查看
My notes on pycaffe learning

data of network introduction

net.blobs['conv'].data[batch_nums] means all batch data.

net.blobs['conv'].data[0] means the first batch.

net.blobs['conv'].data[0][0] the output data of the layer named conv.

params of network introduction

net.params['conv'][0].data means the filter of the layer named conv

net.params['conv'][0].data.shape means the filter size of the layer named conv

net.params['conv'][1].data means the bias of the layer named conv

net.params['conv'][1].data.shape means the bias size of the layer named conv
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: