Open Sarah20187 opened 7 years ago
You should update the nn module, try reinstalling torch or install a new version of nn:
luarocks install nn
@JoostvDoorn Thank you for your suggestion. Finally I solved this problem by https://github.com/Element-Research/dpnn/issues/91
@zhFuECL please don't forget close this.
I followed dpnn#91 instructions, and I still get the same error while including rnn library, @zhFuECL can you please elaborate how you solved it?
@idansc please refer to @pranas solution https://github.com/Element-Research/dpnn/issues/91:
Our solution was to force install previous version of dpnn like so:
git clone https://github.com/Element-Research/dpnn.git && \
cd dpnn && \
git reset --hard ca0e99fa6d0dfd971f0f284520562765ae0865fd && \
luarocks make rocks/dpnn-scm-1.rockspec
@tastyminerals Thanks! Actually I solved it by installing latest torch, nn and dpnn. Probably torch is now using the newer version of nn.
After I installed rnn following the instrument, I had the error here: