Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of parameters #4

Open
ducha-aiki opened this issue Apr 17, 2016 · 1 comment
Open

Number of parameters #4

ducha-aiki opened this issue Apr 17, 2016 · 1 comment

Comments

@ducha-aiki
Copy link

Hi,

If I understand source code correctly
https://github.com/forestagostinelli/Learned-Activation-Functions-Source/blob/master/src/caffe/layers/apl_layer.cpp#L71
and
https://github.com/forestagostinelli/Learned-Activation-Functions-Source/blob/master/src/caffe/layers/apl_layer.cpp#L30

then when used in convolution layers, APL learns not C_sums paramers, but H_W_C (== count/num) * sums parameters. So same channel in different locations does not share same APL coefficients. => APL with sums = 2 has h_w more parametrs than PReLU.
Is it intentional or typo?

@forestagostinelli
Copy link
Owner

Yes, that was the initial design. We are working on a new version that only
takes up C*sums or even just sums number of parameters.

On Sun, Apr 17, 2016 at 5:52 AM, Dmytro Mishkin [email protected]
wrote:

Hi,

If I understand source code correctly

https://github.com/forestagostinelli/Learned-Activation-Functions-Source/blob/master/src/caffe/layers/apl_layer.cpp#L71
and

https://github.com/forestagostinelli/Learned-Activation-Functions-Source/blob/master/src/caffe/layers/apl_layer.cpp#L30

then when used in convolution layers, APL learns not C_sums paramers, but
H_W_C (== count/num) * sums parameters. So same channel in different
locations does not share same APL coefficients. => APL with sums = 2 has h_w
more parametrs than PReLU.
Is it intentional or typo?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants