MLSpeech / DeepFormants

Formant Tracking & Estimation
MIT License
74 stars 17 forks source link

unknown torch class <nn.LinearNoBias> #3

Open SaiVineethKS opened 6 years ago

SaiVineethKS commented 6 years ago

I followed all the steps given in description . but iam encountering the above error. Can i get some help here?

iskunk commented 4 years ago

The current tracking model was built using an old, deprecated version of rnn. The current version of this library no longer has the nn.LinearNoBias object class, and so cannot load the tracking model.

More information on this issue is available here. However, the solution is relatively simple:

Instead of doing

luarocks install rnn

as the README.md file currently specifies, do

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

to download and install the old version instead.