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

Allow passing of parameter for variable initialization #32

Open
randomrandom opened this issue May 13, 2017 · 0 comments
Open

Allow passing of parameter for variable initialization #32

randomrandom opened this issue May 13, 2017 · 0 comments

Comments

@randomrandom
Copy link

Allow passing of an opt parameter for variable initialization (scale) in the conv1d, aconv1d, embed, etc. methods (can be found here: https://github.com/buriburisuri/sugartensor/blob/master/sugartensor/sg_layer.py).

Currently those methods are automatically using he_uniform, with assumed scale of 1. This causes problems on large shaped objects, e.g. at some input / outputs I get scale of 0.005 for the uniform method, which causes the network to misbehave and dead neurons to appear (gradients close/equal to 0).

There's no other trivial way to change the initialization methodology except editing the library code.

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

1 participant