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

unknown Torch class <nn.LinearNoBias> #39

Open
uprightws opened this issue Oct 19, 2017 · 3 comments
Open

unknown Torch class <nn.LinearNoBias> #39

uprightws opened this issue Oct 19, 2017 · 3 comments

Comments

@uprightws
Copy link

I've updated the RNN model by "luarocks install rnn".
When I test my per-train model trained with “Element-Research rnn” ,I got unknown Torch class <nn.LinearNoBias>
Please give me some suggestions. Thank you very much.

@tastyminerals
Copy link

tastyminerals commented Oct 25, 2017

Same issue, I have models based on Element-Research/rnn code that contains LinearNoBias and custom GRU layers that inherit from AbstractRecurrent which now requires stepmodule to be of nn.Module instance. I am trying to understand what the devs changed right now but it is a complete utter mess and compatibility breakage of both my thesis models and the work I was doing using the older Torch version.

@tastyminerals
Copy link

Ok, to fix your issue rollback to older and deprecated Element-Research version

git clone https://github.com/Element-Research/rnn.git
cd rnn
luarocks make rocks/rnn-scm-1.rockspec

@Trojahn
Copy link

Trojahn commented Mar 6, 2019

Same issue². I would appreciate a tool to export pre-trained “Element-Research rnn” networks to the current rnn repo version.

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

3 participants