You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I'll have to take a look. Tbh, I was planning on using this repo for some of research, but it never really panned out, so it is not tested and could have more bugs like this. I'll post a disclaimer for now on the README so people don't end up trying to use it out of the box and run into problems like this.
The hidden state of GridLSTM is not updated:
GridLSTM-PyTorch/gridlstm.py
Lines 191 to 201 in fe063f2
BTW, pytorch will check the consistency of the input hidden tensor's size and the
self.hidden_size
:https://github.com/pytorch/pytorch/blob/6ebcb4606f079b9152cb242b36e03b8eddcb6173/torch/nn/modules/rnn.py#L504-L513
But GridLSTM's input
![image](https://user-images.githubusercontent.com/12222396/39369842-e794cd76-4a6f-11e8-9f5a-35ff63257788.png)
![image](https://user-images.githubusercontent.com/12222396/39369851-ef8d4b0c-4a6f-11e8-88fe-7e92dd6c1fa6.png)
H
is concatenated from all theh
which is larger than your setting:GridLSTM-PyTorch/gridlstm.py
Line 223 in fe063f2
The text was updated successfully, but these errors were encountered: