using repeated fields in caffe layers with python

10 views
Skip to first unread message

madapawa

unread,
Jul 26, 2017, 7:56:05 AM7/26/17
to Caffe Users
Hi,

I've been trying to extend a repeated field in a layer using python,
like slice_point in Slice layer,
but it seems like there is no easy workaround.
I also checked net_spec.py but i don't see any solution.

Any one had solved this issue or it's a caffe lack of functionality?

Thanks in advance,
Madapawa.

madapawa

unread,
Jul 26, 2017, 8:29:58 AM7/26/17
to Caffe Users
Hi again,

sorry for the noise,
it's solved now.
The repeated field must be declared as a list, for example:
slice_param=dict(axis=2, slice_point=[1,2,3])

sorry for bothering,

Regards,
Madapawa.
Reply all
Reply to author
Forward
0 new messages