Open uprightws opened 7 years ago
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.
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
Same issue². I would appreciate a tool to export pre-trained “Element-Research rnn” networks to the current rnn repo version.
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
Please give me some suggestions. Thank you very much.