Sharing weight in Caffe

1,556 views
Skip to first unread message

Dzung Nguyen

unread,
Nov 2, 2015, 7:10:57 PM11/2/15
to Caffe Users
How does one specify weight sharing in Caffe? Is it simply use the same param name, as in the siamese example?

Viveka Kulharia

unread,
Mar 6, 2016, 5:41:19 PM3/6/16
to Caffe Users
Yes.

Jan

unread,
Mar 7, 2016, 2:59:18 AM3/7/16
to Caffe Users
Yes, and this is the only real reason to give names to parameters. The names do not have any other use than sharing afaik.

Jan

liuka...@gmail.com

unread,
Sep 15, 2016, 8:46:40 AM9/15/16
to Caffe Users
But how to share weights in batch norm layer? and the var and means?

在 2016年3月7日星期一 UTC+8下午3:59:18,Jan写道:

Evan Shelhamer

unread,
Sep 27, 2016, 4:01:06 PM9/27/16
to liuka...@gmail.com, Caffe Users
These cannot be shared in the regular sense of "shared weight" in Caffe since the mean and var are not learnable params updated by the solver but local state to each batch norm layer that are updated by the layer.

Evan Shelhamer





--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/e5ec0d71-14af-4b74-a10e-e2f6ae44ad8e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages