galsang / BIMPM-pytorch

Re-implementation of BIMPM (Bilateral Multi-Perspective Matching for Natural Language Sentences, Zhiguo Wang et al.) on Pytorch.
107 stars 31 forks source link

Size([400, 350]) instead of ([400, 300]) #7

Open tamio96 opened 5 years ago

tamio96 commented 5 years ago

Greetings,

I counter this error when try to run your code without changing anything. Could you have any ideas to fix this?

RuntimeError: While copying the parameter named context_LSTM.weight_ih_l0, whose dimensions in the model are torch.Size([400, 350]) and whose dimensions in the checkpoint are torch.Size([400, 300]).

kenkenling commented 5 years ago

I got the same problem, do you know how to fix it? Thank you

Just found out, in training and test, the '--use-char-emb', default=False, is different