Element-Research / rnn

Recurrent Neural Network library for Torch7's nn
BSD 3-Clause "New" or "Revised" License
938 stars 314 forks source link

WARNING : recurrentModule should be added to sharedClones in constructor. Adding it for you. #388

Closed InnovArul closed 7 years ago

InnovArul commented 7 years ago

Hello,

I have written a model using nn.GRU and a nn.Sequencer decorating the GRU for forwarding the video frames, that are organized as a table. During training, I am getting the following warning:

WARNING : recurrentModule should be added to sharedClones in constructor. Adding it for you.

Also, the model doesn't seem to learn. Is there any relation between this warning and the model not-learning from data?

Could you please give any hint on possible causes?

jnhwkim commented 7 years ago

Can share the reproducible code?

InnovArul commented 7 years ago

Sorry. Changed the code so much that I could not reproduce it. I will get back when I face this warning again.