caffe for python code

来源:互联网 发布:淘宝互刷被骗 编辑:程序博客网 时间:2024/05/29 09:13

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

0 0
原创粉丝点击