NetSpec multiple parameters with same name

108 views
Skip to first unread message

Peter Neher

unread,
Jan 21, 2016, 6:42:59 AM1/21/16
to Caffe Users
Hi everyone,

I'm trying to create a layer with multiple parameters of the same name. For example a slice layer wher you need multiple slice_point parameters. Unfortunately
L.Slice(bottom, ntop=3, slice_param=dict(slice_dim=1, slice_point=1, slice_point=2))
does not work: "duplicate keyword argument". Does anyone know a workaround here?

Cheers,
Peter
Message has been deleted

Peter Neher

unread,
Jan 21, 2016, 8:20:49 AM1/21/16
to Caffe Users
Got it:
L.Slice(bottom, ntop=3, slice_param=dict(slice_dim=1, slice_point=[1, 2]))
Reply all
Reply to author
Forward
0 new messages