BIMPM-pytorch icon indicating copy to clipboard operation
BIMPM-pytorch copied to clipboard

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

Open tamio96 opened this issue 6 years ago • 1 comments

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]).

tamio96 avatar Oct 11 '18 16:10 tamio96

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

kenkenling avatar Dec 31 '18 22:12 kenkenling