Open gnageeb opened 8 years ago
Have you tried printing self.output
inside the source for AbstractRecurrent
? I'd be very surprised if there was anything inside there.
What did you do to check the output exists? If it's really there, then stepping forwards with a debugger to see when it becomes nil should probably work
I got the same problem. any advice now?
Hi, I am getting the same problem. Any advice on where i am going wrong?
@juesato That was the first thing to come to my mind back then. The output values are actually there and it never become nil surprisingly! Sorry for the late reply. I'm doing order aware language modelling on sentence level, that's why it would be useful to make it work. Thank you!
I need to build a model with two nested sequencers cause I have my data in the form of sequences of sequences.
the input is a tensor with the dimensions batch_size * outer_seq_len * inner_seq_len The model above works just fine in the forward pass, however in the backward pass it throws the following exception: In 2 module of nn.Sequential: ...ad/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:200: no output for step 59 59 is the outer_seq_len. I checked the outputs of the module mentioned in the exception and there actually is an output for this step. Would anyone please advice?