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

model:getParameters() used multiple times #57

Open
nabihach opened this issue Sep 22, 2016 · 0 comments
Open

model:getParameters() used multiple times #57

nabihach opened this issue Sep 22, 2016 · 0 comments

Comments

@nabihach
Copy link

nabihach commented Sep 22, 2016

For the function model:getParameters(), here's what the documentation (https://github.com/torch/nn/blob/master/doc/module.md#flatparameters-flatgradparameters-getparameters) says:

Since the storage of every weight and gradWeight is changed, this function should be called only once on a given network.

However, in train.lua, this function gets called once every epoch. I'm not entirely sure how this affects the model or the results though. In any case, just putting this out there.

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