How to get layer parameters from python network class?

40 views
Skip to first unread message

Ilya Zhenin

unread,
Nov 10, 2017, 6:49:49 AM11/10/17
to Caffe Users
I know there is methods that we can use to get data from blobs or parameters, like net.blobs['layer_name'][...], or net.params['layer_name'][0].data, etc. 

But how can I get such layer parameters that parser read from .prototxt like stride, dilation, padding?

Przemek D

unread,
Nov 10, 2017, 6:57:41 AM11/10/17
to Caffe Users
You're interested in caffe.NetSpec. Read for example this issue or this answer, and as always - dir() is your best friend ;)
Reply all
Reply to author
Forward
0 new messages