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

ProjectionLayer fix parameters #76

Open
zseder opened this issue May 21, 2015 · 1 comment
Open

ProjectionLayer fix parameters #76

zseder opened this issue May 21, 2015 · 1 comment

Comments

@zseder
Copy link
Owner

zseder commented May 21, 2015

When we use a bigger vocabulary than what is in training data (external embeddings at evaluation time for example), there are a lots of invariant parameters in ProjectionLayer.
We should create our own ProjectionLayer (inheriting the one from pylearn), that knows which parameters are constant, and which are changable, and then change ProjectionLayer.get_params() to return only that part of W that is changable (if this slicing operation is permitted in theano)

@zseder
Copy link
Owner Author

zseder commented May 22, 2015

there is MLP.freeze(self, parameter_set) for this

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

No branches or pull requests

1 participant